Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001505/0.001505, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001423/0.001423, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.352/1.352, allocations: 230.6 MB / 256 MB, free: 7.977 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.002496/0.002496, allocations: 292.7 kB / 312.7 MB, free: 2.781 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.158/1.158, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.002892/0.002892, allocations: 98.69 kB / 0.7396 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1648, allocations: 95.39 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005399/0.1702, allocations: 3.389 MB / 0.836 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00357/0.1738, allocations: 2.12 MB / 0.8381 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.174, allocations: 11.88 kB / 0.8381 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000985/0.175, allocations: 302.7 kB / 0.8384 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006117/0.1756, allocations: 239 kB / 0.8386 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000711/0.1763, allocations: 292 kB / 0.8389 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.1769, allocations: 414.6 kB / 0.8393 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.1772, allocations: 168.3 kB / 0.8395 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.1775, allocations: 171.4 kB / 0.8396 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/0.1779, allocations: 211.3 kB / 0.8398 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.178, allocations: 24 kB / 0.8399 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.1785, allocations: 271.5 kB / 0.8401 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.1786, allocations: 123.6 kB / 0.8402 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.1788, allocations: 143.3 kB / 0.8404 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006946/0.1795, allocations: 0.4904 MB / 0.8409 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1795, allocations: 0 / 0.8409 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.965e-06/0.1795, allocations: 4 kB / 0.8409 GB, free: 308 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.1795, allocations: 0 / 0.8409 GB, free: 308 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001196/0.1807, allocations: 0.5245 MB / 0.8414 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1807, allocations: 9.344 kB / 0.8414 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.949e-05/0.1808, allocations: 66.72 kB / 0.8414 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009585/0.1818, allocations: 128.5 kB / 0.8416 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.1822, allocations: 211.5 kB / 0.8418 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.1822, allocations: 20.86 kB / 0.8418 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.1823, allocations: 36.45 kB / 0.8418 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007224/0.1831, allocations: 461.4 kB / 0.8423 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1831, allocations: 0 / 0.8423 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.1831, allocations: 12 kB / 0.8423 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.1832, allocations: 52.34 kB / 0.8423 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/0.1839, allocations: 353.7 kB / 0.8427 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.1866, allocations: 2.162 MB / 0.8448 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.187, allocations: 240.3 kB / 0.845 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.1873, allocations: 144.8 kB / 0.8451 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1873, allocations: 11.97 kB / 0.8452 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1873, allocations: 34.56 kB / 0.8452 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.1873, allocations: 0 / 0.8452 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001744/0.1891, allocations: 0.9094 MB / 0.8461 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1891, allocations: 55.41 kB / 0.8461 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.1894, allocations: 256.9 kB / 0.8464 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.1895, allocations: 29.7 kB / 0.8464 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.1896, allocations: 192.3 kB / 0.8466 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/0.1897, allocations: 91.22 kB / 0.8467 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.1898, allocations: 73.64 kB / 0.8467 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1899, allocations: 338.8 kB / 0.8471 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.1902, allocations: 163.9 kB / 0.8472 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.1906, allocations: 233.6 kB / 0.8474 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.1912, allocations: 410.8 kB / 0.8478 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1912, allocations: 7.875 kB / 0.8478 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001204/0.1924, allocations: 0.5965 MB / 0.8484 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1924, allocations: 4 kB / 0.8484 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1924, allocations: 4 kB / 0.8484 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006786/0.1931, allocations: 184.9 kB / 0.8486 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.1934, allocations: 63.89 kB / 0.8487 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/0.1963, allocations: 2.397 MB / 0.851 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.1967, allocations: 23.97 kB / 0.851 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.1967, allocations: 16 kB / 0.8511 GB, free: 5.285 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.1969, allocations: 170.3 kB / 0.8512 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.197, allocations: 23.86 kB / 0.8512 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005515/0.1975, allocations: 359.6 kB / 0.8516 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1975, allocations: 4 kB / 0.8516 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1975, allocations: 0 / 0.8516 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1975, allocations: 0 / 0.8516 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.1986, allocations: 0.782 MB / 0.8523 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1986, allocations: 4 kB / 0.8524 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.199, allocations: 83.88 kB / 0.8524 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.199, allocations: 0 / 0.8524 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.199, allocations: 11.98 kB / 0.8524 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.199, allocations: 4 kB / 0.8524 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.199, allocations: 3.938 kB / 0.8525 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007956/0.1998, allocations: 0.6161 MB / 0.8531 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.2, allocations: 51.83 kB / 0.8531 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.2, allocations: 11.98 kB / 0.8531 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.2003, allocations: 15.98 kB / 0.8531 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.2003, allocations: 15.91 kB / 0.8531 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.2003, allocations: 8 kB / 0.8532 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002224/0.2005, allocations: 188.5 kB / 0.8533 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2005, allocations: 0 / 0.8533 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004119/0.201, allocations: 92 kB / 0.8534 GB, free: 2.781 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.2021, allocations: 1.147 MB / 0.8545 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009456/0.203, allocations: 0.5333 MB / 0.8551 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.203, allocations: 0 / 0.8551 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.2032, allocations: 143.3 kB / 0.8552 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.2037, allocations: 63.75 kB / 0.8553 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/0.209, allocations: 3.695 MB / 0.8589 GB, free: 13 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.2095, allocations: 0.795 MB / 0.8596 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002283/0.2097, allocations: 74.91 kB / 0.8597 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.2099, allocations: 87.39 kB / 0.8598 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2099, allocations: 3.938 kB / 0.8598 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.2474, allocations: 7.262 MB / 0.8669 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.24, allocations: 2.578 kB / 0.8669 GB, free: 4.926 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.121117284987122] Failed to read output from testmodel.py, exit status != 0: 11.346482855966315 11.361940964 11.179385976 Calling exit ...