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.001233/0.001233, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001442/0.001442, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.329/1.329, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 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.002331/0.002331, allocations: 280.6 kB / 312.7 MB, free: 2.812 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.134/1.134, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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.00308/0.00308, allocations: 107.8 kB / 0.7396 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1575, allocations: 95.39 MB / 0.8327 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009359/0.1668, allocations: 6.996 MB / 0.8396 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005113/0.1719, allocations: 3.188 MB / 0.8427 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005098/0.1724, allocations: 39.62 kB / 0.8427 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.175, allocations: 0.9843 MB / 0.8437 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.1762, allocations: 0.5246 MB / 0.8442 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.1773, allocations: 445 kB / 0.8446 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001533/0.1788, allocations: 1.217 MB / 0.8458 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008671/0.1797, allocations: 0.5373 MB / 0.8463 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007776/0.1805, allocations: 490.2 kB / 0.8468 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000866/0.1813, allocations: 0.5526 MB / 0.8473 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.1815, allocations: 64 kB / 0.8474 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000735/0.1822, allocations: 391.2 kB / 0.8478 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.1826, allocations: 323.1 kB / 0.8481 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005377/0.1831, allocations: 449.7 kB / 0.8485 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.1847, allocations: 1.214 MB / 0.8497 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1847, allocations: 0 / 0.8497 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1847, allocations: 0 / 0.8497 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.116e-05/0.1847, allocations: 7.938 kB / 0.8497 GB, free: 7.184 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.002075/0.1868, allocations: 1.112 MB / 0.8508 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1868, allocations: 9.344 kB / 0.8508 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.1869, allocations: 126.7 kB / 0.8509 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.1885, allocations: 244.1 kB / 0.8512 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009683/0.1894, allocations: 0.523 MB / 0.8517 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.1895, allocations: 45.69 kB / 0.8517 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.1896, allocations: 64.36 kB / 0.8518 GB, free: 5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.1911, allocations: 1.089 MB / 0.8528 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.1912, allocations: 11.89 kB / 0.8528 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/0.1912, allocations: 28 kB / 0.8529 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.1914, allocations: 85.25 kB / 0.853 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.1926, allocations: 0.7504 MB / 0.8537 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005784/0.1984, allocations: 5.799 MB / 0.8594 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009555/0.1993, allocations: 0.5123 MB / 0.8599 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.1998, allocations: 283.3 kB / 0.8601 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.1998, allocations: 8.438 kB / 0.8601 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.1998, allocations: 39 kB / 0.8602 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.634e-06/0.1998, allocations: 3.938 kB / 0.8602 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003603/0.2034, allocations: 1.679 MB / 0.8618 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.2035, allocations: 63.77 kB / 0.8619 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.2041, allocations: 0.5509 MB / 0.8624 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.2042, allocations: 37.7 kB / 0.8624 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.2045, allocations: 428 kB / 0.8629 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.2046, allocations: 178.5 kB / 0.863 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.2048, allocations: 126.6 kB / 0.8631 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.205, allocations: 378.7 kB / 0.8635 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.2054, allocations: 277.8 kB / 0.8638 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006581/0.2061, allocations: 488.9 kB / 0.8642 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.2072, allocations: 0.8122 MB / 0.865 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.2072, allocations: 4 kB / 0.865 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001856/0.2091, allocations: 1.078 MB / 0.8661 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2091, allocations: 10.03 kB / 0.8661 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.2091, allocations: 8 kB / 0.8661 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008383/0.2099, allocations: 275.7 kB / 0.8664 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.2104, allocations: 127.8 kB / 0.8665 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007102/0.2175, allocations: 6.734 MB / 0.8731 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.218, allocations: 39.91 kB / 0.8731 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.2181, allocations: 28 kB / 0.8731 GB, free: 13.83 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.0003795/0.2185, allocations: 262.2 kB / 0.8734 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.2186, allocations: 79.53 kB / 0.8735 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.2202, allocations: 0.8808 MB / 0.8743 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/0.2202, allocations: 7.984 kB / 0.8743 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2202, allocations: 4 kB / 0.8743 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2202, allocations: 0 / 0.8743 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.2229, allocations: 1.681 MB / 0.876 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.2229, allocations: 7.938 kB / 0.876 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.2231, allocations: 59.89 kB / 0.876 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007288/0.2239, allocations: 267.3 kB / 0.8763 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.2239, allocations: 8 kB / 0.8763 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006667/0.2306, allocations: 6.717 MB / 0.8829 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.2306, allocations: 7.969 kB / 0.8829 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.2321, allocations: 0.9799 MB / 0.8838 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.2325, allocations: 119.5 kB / 0.8839 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.509e-05/0.2325, allocations: 11.94 kB / 0.8839 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.2329, allocations: 27.97 kB / 0.884 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.233, allocations: 51.84 kB / 0.884 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.233, allocations: 12 kB / 0.884 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004406/0.2335, allocations: 387.1 kB / 0.8844 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2335, allocations: 0 / 0.8844 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007608/0.2342, allocations: 224 kB / 0.8846 GB, free: 1.445 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.001923/0.2361, allocations: 1.535 MB / 0.8861 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001969/0.2381, allocations: 1.228 MB / 0.8873 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2381, allocations: 128 / 0.8873 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.2394, allocations: 0.8696 MB / 0.8882 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009526/0.2404, allocations: 215.5 kB / 0.8884 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009101/0.2495, allocations: 6.377 MB / 0.8946 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.2502, allocations: 1.005 MB / 0.8956 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003705/0.2506, allocations: 118 kB / 0.8957 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/0.2509, allocations: 251.4 kB / 0.8959 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.2509, allocations: 0 / 0.8959 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06256/0.3135, allocations: 18.08 MB / 0.9136 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.94, allocations: 11.06 kB / 0.9136 GB, free: 3.559 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: 15.726900397101417] Failed to read output from testmodel.py, exit status != 0: 12.052580115851015 12.068888676 11.880937726 Calling exit ...