Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 104.1 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.087/1.087, allocations: 175.8 MB / 478.4 MB, free: 8.484 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 65.02 kB / 0.6652 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1894, allocations: 94.55 MB / 0.7575 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.3853/0.5747, allocations: 5.588 MB / 0.763 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004145/0.5788, allocations: 2.675 MB / 0.7656 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.5793, allocations: 25.47 kB / 0.7656 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.5811, allocations: 0.6839 MB / 0.7663 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009547/0.582, allocations: 430 kB / 0.7667 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009956/0.583, allocations: 409.1 kB / 0.7671 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.584, allocations: 0.9602 MB / 0.768 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000544/0.5846, allocations: 377.4 kB / 0.7684 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005252/0.5851, allocations: 376.5 kB / 0.7687 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005432/0.5856, allocations: 434.8 kB / 0.7692 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.377e-05/0.5857, allocations: 47.78 kB / 0.7692 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000694/0.5864, allocations: 373.2 kB / 0.7696 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.5867, allocations: 256.2 kB / 0.7698 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.587, allocations: 349.8 kB / 0.7701 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.5883, allocations: 0.9832 MB / 0.7711 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.5883, allocations: 1.375 kB / 0.7711 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5883, allocations: 3.938 kB / 0.7711 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.5883, allocations: 0 / 0.7711 GB, free: 3.113 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001631/0.5899, allocations: 0.9928 MB / 0.7721 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.59, allocations: 10.34 kB / 0.7721 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.5901, allocations: 101.2 kB / 0.7722 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.5915, allocations: 194.1 kB / 0.7724 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008717/0.5924, allocations: 0.5305 MB / 0.7729 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.5924, allocations: 37.75 kB / 0.7729 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.5925, allocations: 60.52 kB / 0.773 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.5937, allocations: 0.8357 MB / 0.7738 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.5937, allocations: 4.156 kB / 0.7738 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.5938, allocations: 17.72 kB / 0.7738 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.5939, allocations: 68.48 kB / 0.7739 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008685/0.5948, allocations: 0.5792 MB / 0.7744 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004968/0.5998, allocations: 4.571 MB / 0.7789 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.6003, allocations: 280.6 kB / 0.7792 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.6006, allocations: 208.2 kB / 0.7794 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.6006, allocations: 7.094 kB / 0.7794 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.592e-05/0.6007, allocations: 43.58 kB / 0.7794 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.6007, allocations: 0 / 0.7794 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005883/0.6066, allocations: 2.629 MB / 0.782 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.6066, allocations: 58.72 kB / 0.7821 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000575/0.6072, allocations: 466.1 kB / 0.7825 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.6073, allocations: 35.36 kB / 0.7825 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.6075, allocations: 354.3 kB / 0.7829 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.6077, allocations: 153.1 kB / 0.783 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.6078, allocations: 106.1 kB / 0.7831 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.608, allocations: 359.1 kB / 0.7835 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.6084, allocations: 240.3 kB / 0.7837 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/0.6089, allocations: 404.4 kB / 0.7841 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009654/0.6099, allocations: 0.6756 MB / 0.7847 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6099, allocations: 2.156 kB / 0.7847 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001827/0.6117, allocations: 0.914 MB / 0.7856 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.6117, allocations: 8.156 kB / 0.7856 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.6117, allocations: 10.34 kB / 0.7856 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008447/0.6126, allocations: 224.3 kB / 0.7859 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.6131, allocations: 117.4 kB / 0.786 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007211/0.6203, allocations: 5.343 MB / 0.7912 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007069/0.621, allocations: 33.48 kB / 0.7912 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/0.6211, allocations: 23.22 kB / 0.7912 GB, free: 4.551 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004504/0.6215, allocations: 225.7 kB / 0.7915 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.6217, allocations: 65.36 kB / 0.7915 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.6236, allocations: 0.7665 MB / 0.7923 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.6236, allocations: 4.562 kB / 0.7923 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6236, allocations: 2.281 kB / 0.7923 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.6236, allocations: 7.078 kB / 0.7923 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.6266, allocations: 1.489 MB / 0.7937 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.6266, allocations: 2.344 kB / 0.7937 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.627, allocations: 71.61 kB / 0.7938 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007287/0.6278, allocations: 204.5 kB / 0.794 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.6278, allocations: 9.219 kB / 0.794 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006049/0.6339, allocations: 5.286 MB / 0.7992 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6339, allocations: 2.375 kB / 0.7992 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.6361, allocations: 1.126 MB / 0.8003 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/0.6366, allocations: 177.3 kB / 0.8004 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.6366, allocations: 12.62 kB / 0.8005 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.637, allocations: 24.17 kB / 0.8005 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.6371, allocations: 38.61 kB / 0.8005 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.6371, allocations: 12.14 kB / 0.8005 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004799/0.6376, allocations: 315 kB / 0.8008 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.6376, allocations: 0 / 0.8008 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008883/0.6385, allocations: 167.7 kB / 0.801 GB, free: 13.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002641/0.6411, allocations: 1.699 MB / 0.8026 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.6431, allocations: 0.9684 MB / 0.8036 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6431, allocations: 0 / 0.8036 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.6441, allocations: 0.6609 MB / 0.8042 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/0.6451, allocations: 190.6 kB / 0.8044 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009884/0.655, allocations: 5.642 MB / 0.8099 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.656, allocations: 0.9514 MB / 0.8109 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005438/0.6566, allocations: 111.2 kB / 0.811 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.6569, allocations: 212.5 kB / 0.8112 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of SimCode: time 1.382e-06/0.6569, allocations: 0 / 0.8112 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05665/0.7135, allocations: 14.29 MB / 0.8251 GB, free: 272 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.89, allocations: 9.906 kB / 0.8251 GB, free: 268 kB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.77357551176101] Failed to read output from testmodel.py, exit status != 0: 11.983869203832 11.998170727 11.406907927 Calling exit ...