Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008446/0.0008446, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000868/0.000868, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9055/0.9055, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00213/0.00213, allocations: 237.7 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6667/0.6667, allocations: 138.4 MB / 454.3 MB, free: 1.633 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.6463 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.097e-05, allocations: 4.109 kB / 0.6463 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01935/0.01937, allocations: 32.97 MB / 0.6785 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.03301, allocations: 9.877 MB / 0.6882 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003991/0.037, allocations: 190.6 kB / 0.6884 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.005993/0.04299, allocations: 3.845 MB / 0.6921 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.006042/0.04904, allocations: 2.206 MB / 0.6943 GB, free: 464 kB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004739/0.05378, allocations: 1.979 MB / 0.6962 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.009027/0.0628, allocations: 8.137 MB / 0.7041 GB, free: 6.316 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00619/0.06899, allocations: 5.246 MB / 0.7093 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007197/0.07619, allocations: 4.888 MB / 0.714 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004539/0.08073, allocations: 3.464 MB / 0.7174 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001377/0.08211, allocations: 0.6758 MB / 0.7181 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.0845, allocations: 1.377 MB / 0.7194 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.002457/0.08696, allocations: 2.806 MB / 0.7222 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.003381/0.09034, allocations: 2.164 MB / 0.7243 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.009278/0.09962, allocations: 10.58 MB / 0.7346 GB, free: 6.926 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.09962, allocations: 0 / 0.7346 GB, free: 6.926 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.994e-06/0.09962, allocations: 3.938 kB / 0.7346 GB, free: 6.922 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002531/0.09988, allocations: 4 kB / 0.7346 GB, free: 6.918 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.009825/0.1097, allocations: 5.404 MB / 0.7399 GB, free: 1.453 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.1098, allocations: 8.75 kB / 0.7399 GB, free: 1.445 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009834/0.1107, allocations: 0.6984 MB / 0.7406 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/0.1134, allocations: 1.001 MB / 0.7416 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0043/0.1177, allocations: 3.135 MB / 0.7446 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.1179, allocations: 357.9 kB / 0.745 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005365/0.1185, allocations: 468.3 kB / 0.7454 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/0.1294, allocations: 8.671 MB / 0.7539 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.343e-05/0.1295, allocations: 20 kB / 0.7539 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.1299, allocations: 212.1 kB / 0.7541 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003171/0.1302, allocations: 365.1 kB / 0.7545 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008769/0.139, allocations: 5.926 MB / 0.7602 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02579/0.1648, allocations: 23.72 MB / 0.7834 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.167, allocations: 1.981 MB / 0.7853 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/0.1683, allocations: 1.332 MB / 0.7866 GB, free: 272 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.231e-05/0.1684, allocations: 21.3 kB / 0.7867 GB, free: 252 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.1684, allocations: 55.88 kB / 0.7867 GB, free: 188 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=157): time 4.579e-06/0.1684, allocations: 0 / 0.7867 GB, free: 188 kB / 0.6198 GB Notification: Performance of matching and sorting (n=160): time 0.0091/0.1775, allocations: 6.667 MB / 0.7932 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1775, allocations: 72.66 kB / 0.7933 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.1796, allocations: 1.907 MB / 0.7951 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.279e-05/0.1797, allocations: 53.7 kB / 0.7952 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009108/0.1806, allocations: 2.177 MB / 0.7973 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.1809, allocations: 0.5771 MB / 0.7979 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003838/0.1813, allocations: 400 kB / 0.7983 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.1813, allocations: 313.1 kB / 0.7986 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.1824, allocations: 1.058 MB / 0.7996 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.1837, allocations: 1.764 MB / 0.8013 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/0.1865, allocations: 3.049 MB / 0.8043 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.1865, allocations: 4 kB / 0.8043 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00422/0.1908, allocations: 3.907 MB / 0.8081 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.1908, allocations: 19.94 kB / 0.8081 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.1908, allocations: 20 kB / 0.8082 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.1925, allocations: 0.9352 MB / 0.8091 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.1934, allocations: 427.3 kB / 0.8095 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.2068, allocations: 21.37 MB / 0.8303 GB, free: 1.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.2083, allocations: 119.9 kB / 0.8305 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.2085, allocations: 96 kB / 0.8306 GB, free: 1.059 MB / 0.6667 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.00228/0.2108, allocations: 1.652 MB / 0.8322 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003559/0.2111, allocations: 262.4 kB / 0.8324 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/0.2145, allocations: 3.232 MB / 0.8356 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.2145, allocations: 16 kB / 0.8356 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.2145, allocations: 12 kB / 0.8356 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.2145, allocations: 7.969 kB / 0.8356 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008646/0.2232, allocations: 7.17 MB / 0.8426 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.2232, allocations: 4 kB / 0.8426 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004985/0.2237, allocations: 211.7 kB / 0.8428 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/0.2252, allocations: 0.9086 MB / 0.8437 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.47e-05/0.2253, allocations: 28 kB / 0.8437 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2734/0.4987, allocations: 21.33 MB / 0.8646 GB, free: 188.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.4987, allocations: 9.594 kB / 0.8646 GB, free: 188.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/0.5036, allocations: 3.357 MB / 0.8678 GB, free: 188.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.5046, allocations: 470.8 kB / 0.8683 GB, free: 188.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/0.5049, allocations: 36.8 kB / 0.8683 GB, free: 188.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006177/0.5055, allocations: 91.59 kB / 0.8684 GB, free: 188.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/0.5058, allocations: 147.5 kB / 0.8686 GB, free: 188.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.256e-05/0.5059, allocations: 46.62 kB / 0.8686 GB, free: 188.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001205/0.5071, allocations: 1.221 MB / 0.8698 GB, free: 187.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.5071, allocations: 2.812 kB / 0.8698 GB, free: 187.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00253/0.5096, allocations: 0.9084 MB / 0.8707 GB, free: 187.9 MB / 0.698 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003775/0.5134, allocations: 3.958 MB / 0.8745 GB, free: 186.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003946/0.5173, allocations: 4.289 MB / 0.8787 GB, free: 183.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5173, allocations: 2.562 kB / 0.8787 GB, free: 183.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.5195, allocations: 2.901 MB / 0.8816 GB, free: 181.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/0.5219, allocations: 0.8316 MB / 0.8824 GB, free: 181.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02577/0.5477, allocations: 25.27 MB / 0.9071 GB, free: 164.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002747/0.5504, allocations: 2.669 MB / 0.9097 GB, free: 161.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001421/0.5518, allocations: 0.53 MB / 0.9102 GB, free: 161.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/0.553, allocations: 1.652 MB / 0.9118 GB, free: 159.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.613e-06/0.553, allocations: 0 / 0.9118 GB, free: 159.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08617/0.6392, allocations: 74.97 MB / 0.985 GB, free: 85.96 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/9.416, allocations: 11.86 kB / 0.985 GB, free: 85.95 MB / 0.698 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.385778242722154] Failed to read output from testmodel.py, exit status != 0: 9.531553758308291 9.539414269 9.437933228 Calling exit ...