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.001572/0.001572, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001996/0.001996, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.801 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.002551/0.002551, allocations: 298.7 kB / 312.7 MB, free: 2.602 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.25/1.25, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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="me",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="me",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.002969/0.002969, allocations: 99.11 kB / 0.7395 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1556, allocations: 95.39 MB / 0.8327 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008797/0.1644, allocations: 6.483 MB / 0.839 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005487/0.1699, allocations: 3.032 MB / 0.8419 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005063/0.1704, allocations: 35.69 kB / 0.842 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002638/0.1731, allocations: 0.9546 MB / 0.8429 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.1744, allocations: 0.5207 MB / 0.8434 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.1755, allocations: 429.8 kB / 0.8438 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001548/0.1771, allocations: 1.229 MB / 0.845 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008372/0.1779, allocations: 0.5257 MB / 0.8455 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007236/0.1786, allocations: 494.3 kB / 0.846 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007189/0.1794, allocations: 0.5175 MB / 0.8465 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.1795, allocations: 68 kB / 0.8466 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006482/0.1801, allocations: 343.3 kB / 0.8469 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003152/0.1804, allocations: 319.1 kB / 0.8472 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003942/0.1808, allocations: 374.2 kB / 0.8476 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.1822, allocations: 1.226 MB / 0.8488 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1823, allocations: 0 / 0.8488 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1823, allocations: 7.938 kB / 0.8488 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.1823, allocations: 0 / 0.8488 GB, free: 7.73 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.001925/0.1842, allocations: 1.104 MB / 0.8499 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1842, allocations: 17.34 kB / 0.8499 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.1844, allocations: 114.7 kB / 0.85 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.1859, allocations: 248.1 kB / 0.8502 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.1869, allocations: 0.5308 MB / 0.8507 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.1869, allocations: 45.67 kB / 0.8508 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.187, allocations: 64.31 kB / 0.8508 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.1887, allocations: 1.336 MB / 0.8521 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.1888, allocations: 11.89 kB / 0.8522 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.1888, allocations: 36 kB / 0.8522 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/0.189, allocations: 81.25 kB / 0.8523 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.1902, allocations: 0.7504 MB / 0.853 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/0.1955, allocations: 4.632 MB / 0.8575 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009987/0.1965, allocations: 0.5047 MB / 0.858 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/0.197, allocations: 282 kB / 0.8583 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.197, allocations: 8.375 kB / 0.8583 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.197, allocations: 42.98 kB / 0.8583 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/0.197, allocations: 0 / 0.8583 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.00384/0.2009, allocations: 1.69 MB / 0.86 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.2009, allocations: 55.84 kB / 0.86 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006642/0.2016, allocations: 0.5664 MB / 0.8606 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.2016, allocations: 37.7 kB / 0.8606 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.2019, allocations: 424 kB / 0.861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.2021, allocations: 182.5 kB / 0.8612 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.2023, allocations: 126.6 kB / 0.8613 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.2025, allocations: 378.7 kB / 0.8617 GB, free: 10 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.2029, allocations: 273.8 kB / 0.8619 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.2035, allocations: 492.9 kB / 0.8624 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.2046, allocations: 0.8084 MB / 0.8632 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.2046, allocations: 7.938 kB / 0.8632 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001891/0.2065, allocations: 1.074 MB / 0.8643 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2065, allocations: 8 kB / 0.8643 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2065, allocations: 8 kB / 0.8643 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008719/0.2074, allocations: 283.3 kB / 0.8645 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.2079, allocations: 123.8 kB / 0.8647 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007074/0.215, allocations: 6.694 MB / 0.8712 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.2156, allocations: 31.97 kB / 0.8712 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.2156, allocations: 32 kB / 0.8713 GB, free: 15.5 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.0003735/0.216, allocations: 264.4 kB / 0.8715 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.2161, allocations: 79.53 kB / 0.8716 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.2178, allocations: 0.869 MB / 0.8724 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2178, allocations: 11.94 kB / 0.8725 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2178, allocations: 3.984 kB / 0.8725 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2178, allocations: 4 kB / 0.8725 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.2206, allocations: 1.603 MB / 0.874 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.2206, allocations: 3.938 kB / 0.874 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.2208, allocations: 63.88 kB / 0.8741 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007686/0.2216, allocations: 271.4 kB / 0.8744 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.2216, allocations: 8 kB / 0.8744 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006968/0.2286, allocations: 6.675 MB / 0.8809 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2286, allocations: 192 / 0.8809 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.2303, allocations: 0.9837 MB / 0.8818 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.2306, allocations: 119.6 kB / 0.882 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.2307, allocations: 15.94 kB / 0.882 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.2311, allocations: 23.97 kB / 0.882 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.2312, allocations: 44.06 kB / 0.882 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.2312, allocations: 20.06 kB / 0.882 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004572/0.2317, allocations: 379.1 kB / 0.8824 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2317, allocations: 0 / 0.8824 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007777/0.2324, allocations: 228 kB / 0.8826 GB, free: 3.25 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.001912/0.2343, allocations: 1.542 MB / 0.8841 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.2364, allocations: 1.224 MB / 0.8853 GB, free: 384 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.2364, allocations: 4 kB / 0.8853 GB, free: 380 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.2377, allocations: 0.862 MB / 0.8862 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.2388, allocations: 222.9 kB / 0.8864 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009141/0.2479, allocations: 6.38 MB / 0.8926 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.2484, allocations: 415.5 kB / 0.893 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004196/0.2488, allocations: 118 kB / 0.8931 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/0.2492, allocations: 251.4 kB / 0.8934 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of SimCode: time 7.11e-07/0.2492, allocations: 0 / 0.8934 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06015/0.3093, allocations: 19.26 MB / 0.9122 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.19, allocations: 0 / 0.9122 GB, free: 4.93 MB / 0.6544 GB " [Timeout remaining time 648] (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: 16.4194984450005] Failed to read output from testmodel.py, exit status != 0: 12.30542954057455 12.323966895 12.138176403 Calling exit ...