Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001557/0.001557, allocations: 101.1 kB / 16.4 MB, free: 6.496 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.001797/0.001798, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.485/1.485, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.125/1.125, allocations: 173.4 MB / 470.7 MB, free: 13.61 MB / 382.1 MB " [Timeout remaining time 178] 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_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001963, allocations: 69.02 kB / 0.6478 GB, free: 11.75 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1852, allocations: 89.52 MB / 0.7353 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008095/0.1933, allocations: 6.143 MB / 0.7413 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00531/0.1987, allocations: 3.164 MB / 0.7444 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006644/0.1994, allocations: 31.81 kB / 0.7444 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.2018, allocations: 0.9337 MB / 0.7453 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.2031, allocations: 473.5 kB / 0.7457 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.2044, allocations: 0.5019 MB / 0.7462 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.2057, allocations: 1.104 MB / 0.7473 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008948/0.2066, allocations: 0.6389 MB / 0.7479 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000554/0.2072, allocations: 434.4 kB / 0.7484 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005751/0.2078, allocations: 474.1 kB / 0.7488 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.371e-05/0.2079, allocations: 60 kB / 0.7489 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008638/0.2088, allocations: 491 kB / 0.7493 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.2091, allocations: 279.3 kB / 0.7496 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003948/0.2095, allocations: 405.9 kB / 0.75 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.2108, allocations: 1.183 MB / 0.7511 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2109, allocations: 0 / 0.7511 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2109, allocations: 4 kB / 0.7511 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2109, allocations: 0 / 0.7511 GB, free: 1.918 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001643/0.2125, allocations: 1.093 MB / 0.7522 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2126, allocations: 8.031 kB / 0.7522 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.2127, allocations: 126.6 kB / 0.7523 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.2142, allocations: 224.1 kB / 0.7526 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3453/0.5595, allocations: 0.5867 MB / 0.7531 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.5596, allocations: 49.31 kB / 0.7532 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.5597, allocations: 62.69 kB / 0.7532 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.5612, allocations: 1.032 MB / 0.7542 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/0.5613, allocations: 11.16 kB / 0.7543 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/0.5613, allocations: 32.64 kB / 0.7543 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.5614, allocations: 70.05 kB / 0.7543 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.5625, allocations: 0.693 MB / 0.755 GB, free: 18.01 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004144/0.5666, allocations: 5.742 MB / 0.7606 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/0.5674, allocations: 0.6009 MB / 0.7612 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007797/0.5682, allocations: 430.5 kB / 0.7616 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.5683, allocations: 3.75 kB / 0.7616 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.5683, allocations: 35.7 kB / 0.7617 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.785e-06/0.5683, allocations: 1.156 kB / 0.7617 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.003995/0.5723, allocations: 2.028 MB / 0.7636 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.5723, allocations: 56.53 kB / 0.7637 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.5727, allocations: 461.3 kB / 0.7641 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.5728, allocations: 36.89 kB / 0.7642 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.5729, allocations: 397.6 kB / 0.7646 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.884e-05/0.573, allocations: 158.9 kB / 0.7647 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.5732, allocations: 112.3 kB / 0.7648 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.5732, allocations: 370.7 kB / 0.7652 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.5735, allocations: 241 kB / 0.7654 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.5739, allocations: 456.1 kB / 0.7658 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006919/0.5746, allocations: 0.7451 MB / 0.7666 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5746, allocations: 2.625 kB / 0.7666 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001595/0.5762, allocations: 1.048 MB / 0.7676 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.5763, allocations: 8.672 kB / 0.7676 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5763, allocations: 11.56 kB / 0.7676 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009341/0.5772, allocations: 315.4 kB / 0.7679 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.5775, allocations: 100.2 kB / 0.768 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/0.583, allocations: 7.488 MB / 0.7753 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.5834, allocations: 27.34 kB / 0.7753 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.5835, allocations: 26.14 kB / 0.7754 GB, free: 5.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.5837, allocations: 250 kB / 0.7756 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5838, allocations: 65.38 kB / 0.7757 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.5854, allocations: 0.8898 MB / 0.7765 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.5854, allocations: 5.344 kB / 0.7765 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.5854, allocations: 8.969 kB / 0.7765 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5854, allocations: 3.562 kB / 0.7766 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.588, allocations: 1.676 MB / 0.7782 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.588, allocations: 1.656 kB / 0.7782 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.5882, allocations: 46.11 kB / 0.7782 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009047/0.5891, allocations: 305.8 kB / 0.7785 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.5891, allocations: 11.06 kB / 0.7785 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006287/0.5954, allocations: 7.456 MB / 0.7858 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.5955, allocations: 9.906 kB / 0.7858 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.5977, allocations: 0.9933 MB / 0.7868 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.598, allocations: 178.5 kB / 0.787 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.5981, allocations: 12.05 kB / 0.787 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.5984, allocations: 28.11 kB / 0.787 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.5985, allocations: 42.55 kB / 0.787 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.5986, allocations: 14.16 kB / 0.7871 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004013/0.599, allocations: 311.3 kB / 0.7874 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.599, allocations: 0 / 0.7874 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008937/0.5999, allocations: 194.2 kB / 0.7875 GB, free: 14.57 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002137/0.602, allocations: 1.54 MB / 0.789 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.6042, allocations: 1.195 MB / 0.7902 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6042, allocations: 0 / 0.7902 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.6055, allocations: 0.8696 MB / 0.7911 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.6066, allocations: 205.4 kB / 0.7913 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008749/0.6153, allocations: 5.892 MB / 0.797 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008006/0.6162, allocations: 0.9916 MB / 0.798 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003744/0.6165, allocations: 97.34 kB / 0.7981 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.6169, allocations: 228.2 kB / 0.7983 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of SimCode: time 1.282e-06/0.6169, allocations: 1.188 kB / 0.7983 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08/0.6969, allocations: 15.39 MB / 0.8133 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.4, allocations: 16.09 kB / 0.8133 GB, free: 1.461 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.41426583006978] Failed to read output from testmodel.py, exit status != 0: 11.498089336790144 11.52425666 11.308646964 Calling exit ...