Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001305/0.001305, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001885/0.001885, allocations: 217.9 kB / 23.04 MB, free: 5.078 MB / 14.72 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 1.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.002513/0.002513, allocations: 283.3 kB / 313.5 MB, free: 2.816 MB / 238.1 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 1.218/1.218, allocations: 180.6 MB / 0.5377 GB, free: 13.01 MB / 382.1 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002816/0.002816, allocations: 94.3 kB / 0.7403 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1615, allocations: 95.39 MB / 0.8335 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009413/0.1709, allocations: 7.015 MB / 0.8403 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005417/0.1763, allocations: 3.192 MB / 0.8435 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004792/0.1768, allocations: 35.69 kB / 0.8435 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.1794, allocations: 0.9821 MB / 0.8445 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.1807, allocations: 0.5246 MB / 0.845 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.1818, allocations: 436.8 kB / 0.8454 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001573/0.1834, allocations: 1.221 MB / 0.8466 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008854/0.1843, allocations: 0.5334 MB / 0.8471 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000751/0.185, allocations: 490.2 kB / 0.8476 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008135/0.1858, allocations: 0.5526 MB / 0.8481 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.1859, allocations: 68 kB / 0.8482 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007292/0.1867, allocations: 391.2 kB / 0.8485 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.187, allocations: 319 kB / 0.8488 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004725/0.1875, allocations: 445.8 kB / 0.8493 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.189, allocations: 1.222 MB / 0.8505 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.189, allocations: 0 / 0.8505 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.189, allocations: 0 / 0.8505 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.189, allocations: 0 / 0.8505 GB, free: 7.223 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001995/0.191, allocations: 1.108 MB / 0.8516 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.191, allocations: 9.344 kB / 0.8516 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.901e-05/0.1911, allocations: 21.5 kB / 0.8516 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.1912, allocations: 126.6 kB / 0.8517 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.1927, allocations: 240.1 kB / 0.8519 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009525/0.1937, allocations: 0.5269 MB / 0.8524 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.1937, allocations: 49.67 kB / 0.8525 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.1938, allocations: 60.38 kB / 0.8525 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.1954, allocations: 1.096 MB / 0.8536 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.1954, allocations: 3.953 kB / 0.8536 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/0.1955, allocations: 32 kB / 0.8537 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.1957, allocations: 89.19 kB / 0.8537 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.1969, allocations: 0.7465 MB / 0.8545 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005689/0.2026, allocations: 5.795 MB / 0.8601 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009964/0.2036, allocations: 0.5116 MB / 0.8606 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/0.204, allocations: 290 kB / 0.8609 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.2041, allocations: 8.438 kB / 0.8609 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.2041, allocations: 38.98 kB / 0.8609 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.653e-06/0.2041, allocations: 7.875 kB / 0.861 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003778/0.2079, allocations: 1.686 MB / 0.8626 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.2079, allocations: 55.84 kB / 0.8627 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006527/0.2086, allocations: 0.5548 MB / 0.8632 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.2086, allocations: 37.7 kB / 0.8632 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.2089, allocations: 420.1 kB / 0.8636 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.2091, allocations: 178.5 kB / 0.8638 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.2093, allocations: 134.6 kB / 0.8639 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.2095, allocations: 378.7 kB / 0.8643 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.2099, allocations: 269.8 kB / 0.8646 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.2105, allocations: 492.9 kB / 0.865 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.2116, allocations: 0.8122 MB / 0.8658 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2116, allocations: 4 kB / 0.8658 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001895/0.2135, allocations: 1.074 MB / 0.8669 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2135, allocations: 8 kB / 0.8669 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.2135, allocations: 8 kB / 0.8669 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008743/0.2144, allocations: 280 kB / 0.8671 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.2149, allocations: 131.7 kB / 0.8673 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007087/0.2219, allocations: 6.73 MB / 0.8738 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.2226, allocations: 39.97 kB / 0.8739 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/0.2226, allocations: 24 kB / 0.8739 GB, free: 13.85 MB / 0.6231 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (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.000373/0.223, allocations: 258.2 kB / 0.8742 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.2231, allocations: 75.53 kB / 0.8742 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.2249, allocations: 0.8806 MB / 0.8751 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.2249, allocations: 8 kB / 0.8751 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.2249, allocations: 4.188 kB / 0.8751 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2249, allocations: 3.984 kB / 0.8751 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.2278, allocations: 1.684 MB / 0.8767 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2278, allocations: 0 / 0.8767 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.228, allocations: 67.88 kB / 0.8768 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007916/0.2288, allocations: 267.4 kB / 0.8771 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.2289, allocations: 12 kB / 0.8771 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007076/0.2359, allocations: 6.721 MB / 0.8836 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2359, allocations: 0 / 0.8836 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.2377, allocations: 0.9877 MB / 0.8846 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.238, allocations: 115.6 kB / 0.8847 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/0.2381, allocations: 15.92 kB / 0.8847 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.2384, allocations: 27.97 kB / 0.8848 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.2386, allocations: 47.86 kB / 0.8848 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.2386, allocations: 16 kB / 0.8848 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004661/0.2391, allocations: 383.1 kB / 0.8852 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2391, allocations: 0 / 0.8852 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009172/0.24, allocations: 228 kB / 0.8854 GB, free: 1.457 MB / 0.6231 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.002098/0.2421, allocations: 1.533 MB / 0.8869 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002462/0.2445, allocations: 1.232 MB / 0.8881 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.2445, allocations: 0 / 0.8881 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.2459, allocations: 0.8697 MB / 0.889 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.2472, allocations: 216.9 kB / 0.8892 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.2573, allocations: 6.374 MB / 0.8954 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009946/0.2583, allocations: 1.009 MB / 0.8964 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005983/0.2589, allocations: 118 kB / 0.8965 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.2594, allocations: 255.3 kB / 0.8967 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of SimCode: time 1.463e-06/0.2594, allocations: 4 kB / 0.8967 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05635/0.3157, allocations: 18.1 MB / 0.9144 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.23, allocations: 6.688 kB / 0.9144 GB, free: 3.559 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.54954335599905] Failed to read output from testmodel.py, exit status != 0: 13.409360527002718 13.428527068 13.235540381 Calling exit ...