Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001309/0.001309, allocations: 108.6 kB / 16.4 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.001365/0.001366, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.458/1.458, 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.126/1.126, 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 63.61 kB / 0.6478 GB, free: 11.71 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2123, allocations: 89.52 MB / 0.7353 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.4173/0.6297, allocations: 37.94 MB / 0.7723 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01909/0.6489, allocations: 10.99 MB / 0.7831 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005287/0.6542, allocations: 157.6 kB / 0.7832 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01298/0.6672, allocations: 4.356 MB / 0.7875 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008682/0.6759, allocations: 2.226 MB / 0.7896 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007323/0.6833, allocations: 2.165 MB / 0.7917 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01647/0.6998, allocations: 9.284 MB / 0.8008 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02257/0.7224, allocations: 11.28 MB / 0.8118 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008935/0.7314, allocations: 3.987 MB / 0.8157 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009142/0.7406, allocations: 4.52 MB / 0.8201 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00302/0.7436, allocations: 0.8224 MB / 0.8209 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006191/0.7498, allocations: 1.585 MB / 0.8225 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006309/0.7562, allocations: 3.15 MB / 0.8256 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009885/0.7661, allocations: 3.653 MB / 0.8291 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02016/0.7863, allocations: 12.34 MB / 0.8412 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.7864, allocations: 4 kB / 0.8412 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7864, allocations: 0 / 0.8412 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.000392/0.7868, allocations: 0 / 0.8412 GB, free: 7.141 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01949/0.8063, allocations: 6.474 MB / 0.8475 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.8063, allocations: 8.031 kB / 0.8475 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003393/0.8097, allocations: 0.8294 MB / 0.8483 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006798/0.8166, allocations: 1.098 MB / 0.8494 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007943/0.8245, allocations: 3.632 MB / 0.8529 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004573/0.825, allocations: 419.8 kB / 0.8533 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/0.8269, allocations: 0.5432 MB / 0.8539 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/0.8484, allocations: 9.373 MB / 0.863 GB, free: 296 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000229/0.8487, allocations: 23.77 kB / 0.8631 GB, free: 272 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001602/0.8503, allocations: 244 kB / 0.8633 GB, free: 28 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007309/0.851, allocations: 422.9 kB / 0.8637 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01672/0.8678, allocations: 7.127 MB / 0.8707 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06303/0.9308, allocations: 41.07 MB / 0.9108 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006138/0.937, allocations: 3.103 MB / 0.9138 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00428/0.9413, allocations: 2.149 MB / 0.9159 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000301/0.9417, allocations: 22 kB / 0.9159 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.9418, allocations: 60.56 kB / 0.916 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=209): time 7.935e-06/0.9418, allocations: 0 / 0.916 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of matching and sorting (n=212): time 0.02911/0.971, allocations: 10.64 MB / 0.9264 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.9711, allocations: 73.41 kB / 0.9264 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003673/0.9748, allocations: 1.998 MB / 0.9284 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003368/0.9751, allocations: 65.64 kB / 0.9284 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002079/0.9772, allocations: 2.482 MB / 0.9309 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.9783, allocations: 0.7747 MB / 0.9316 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.9794, allocations: 477.5 kB / 0.9321 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.9795, allocations: 305.1 kB / 0.9324 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/0.9819, allocations: 1.372 MB / 0.9337 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003172/0.9851, allocations: 2.112 MB / 0.9358 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006273/0.9913, allocations: 3.762 MB / 0.9394 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-05/0.9914, allocations: 8 kB / 0.9395 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01053/1.002, allocations: 5.078 MB / 0.9444 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/1.002, allocations: 20.06 kB / 0.9444 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-05/1.002, allocations: 20 kB / 0.9445 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004125/1.006, allocations: 1.587 MB / 0.946 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/1.008, allocations: 451.2 kB / 0.9464 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02773/1.036, allocations: 18.6 MB / 0.9646 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/1.039, allocations: 147.9 kB / 0.9647 GB, free: 2.992 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00054/1.039, allocations: 108 kB / 0.9648 GB, free: 2.887 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004096/1.043, allocations: 1.941 MB / 0.9667 GB, free: 0.9336 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008528/1.044, allocations: 298.2 kB / 0.967 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009362/1.054, allocations: 4.459 MB / 0.9714 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/1.054, allocations: 20 kB / 0.9714 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.527e-05/1.054, allocations: 16 kB / 0.9714 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/1.054, allocations: 8.094 kB / 0.9714 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02124/1.075, allocations: 9.683 MB / 0.9809 GB, free: 2.277 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/1.075, allocations: 4 kB / 0.9809 GB, free: 2.273 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.076, allocations: 235.6 kB / 0.9811 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004007/1.08, allocations: 1.425 MB / 0.9825 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003652/1.081, allocations: 40 kB / 0.9825 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02717/1.108, allocations: 18.58 MB / 1.001 GB, free: 13.44 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/1.108, allocations: 7.938 kB / 1.001 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009684/1.118, allocations: 4.565 MB / 1.005 GB, free: 8.781 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.12, allocations: 0.6436 MB / 1.006 GB, free: 8.117 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008586/1.121, allocations: 40 kB / 1.006 GB, free: 8.078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/1.123, allocations: 115.9 kB / 1.006 GB, free: 7.965 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006024/1.123, allocations: 181.6 kB / 1.006 GB, free: 7.789 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/1.123, allocations: 60 kB / 1.006 GB, free: 7.73 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002627/1.126, allocations: 1.311 MB / 1.007 GB, free: 6.41 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.6e-07/1.126, allocations: 0 / 1.007 GB, free: 6.41 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0041/1.13, allocations: 1.141 MB / 1.009 GB, free: 5.27 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008936/1.139, allocations: 5.18 MB / 1.014 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.009001/1.148, allocations: 4.736 MB / 1.018 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/1.148, allocations: 0 / 1.018 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.005233/1.153, allocations: 2.933 MB / 1.021 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005543/1.159, allocations: 0.8854 MB / 1.022 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06475/1.224, allocations: 30.54 MB / 1.052 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007919/1.232, allocations: 3.694 MB / 1.055 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002707/1.235, allocations: 0.5557 MB / 1.056 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003754/1.238, allocations: 1.944 MB / 1.058 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of SimCode: time 2.335e-06/1.238, allocations: 0 / 1.058 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5609/1.799, allocations: 85.24 MB / 1.141 GB, free: 252.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/17.19, allocations: 6.062 kB / 1.141 GB, free: 252.8 MB / 0.8575 GB " [Timeout remaining time 643] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.582624160218984] Failed to read output from testmodel.py, exit status != 0: 17.317557217087597 17.329850725 16.540763908 Calling exit ...