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.001285/0.001285, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001454/0.001454, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.003653/0.003653, allocations: 295.7 kB / 313.5 MB, free: 2.598 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.23/1.23, allocations: 180.6 MB / 0.5377 GB, free: 14.57 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.002788/0.002788, allocations: 99 kB / 0.7403 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1741, allocations: 95.38 MB / 0.8334 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005041/0.1791, allocations: 3.234 MB / 0.8366 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003259/0.1824, allocations: 1.984 MB / 0.8385 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1825, allocations: 7.938 kB / 0.8385 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009491/0.1834, allocations: 288.6 kB / 0.8388 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000486/0.1839, allocations: 246.9 kB / 0.839 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.1845, allocations: 283.3 kB / 0.8393 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.185, allocations: 414.7 kB / 0.8397 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.1853, allocations: 168.3 kB / 0.8398 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.1856, allocations: 175.5 kB / 0.84 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/0.1859, allocations: 207.2 kB / 0.8402 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.186, allocations: 24 kB / 0.8402 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.1864, allocations: 247.5 kB / 0.8405 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.1865, allocations: 127.5 kB / 0.8406 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.1867, allocations: 123.4 kB / 0.8407 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006127/0.1873, allocations: 498.3 kB / 0.8412 GB, free: 368 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1873, allocations: 0 / 0.8412 GB, free: 368 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1873, allocations: 3.938 kB / 0.8412 GB, free: 364 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.1873, allocations: 0 / 0.8412 GB, free: 364 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.001081/0.1884, allocations: 0.5322 MB / 0.8417 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1884, allocations: 17.88 kB / 0.8417 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.594e-05/0.1884, allocations: 4.688 kB / 0.8417 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.093e-05/0.1885, allocations: 62.73 kB / 0.8418 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009713/0.1895, allocations: 116.6 kB / 0.8419 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.1899, allocations: 223.4 kB / 0.8421 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.1899, allocations: 16.88 kB / 0.8421 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.19, allocations: 44.23 kB / 0.8422 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/0.1908, allocations: 0.522 MB / 0.8427 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1908, allocations: 0 / 0.8427 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.1909, allocations: 11.98 kB / 0.8427 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.191, allocations: 40.47 kB / 0.8427 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000643/0.1917, allocations: 365.6 kB / 0.8431 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.1942, allocations: 1.644 MB / 0.8447 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.1946, allocations: 242.4 kB / 0.8449 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.1948, allocations: 144.8 kB / 0.845 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1948, allocations: 4 kB / 0.8451 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.1949, allocations: 38.94 kB / 0.8451 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.1949, allocations: 4 kB / 0.8451 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001786/0.1967, allocations: 0.9077 MB / 0.846 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1967, allocations: 55.41 kB / 0.846 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.197, allocations: 256.9 kB / 0.8463 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.1971, allocations: 37.64 kB / 0.8463 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.1972, allocations: 196.3 kB / 0.8465 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.201e-05/0.1973, allocations: 87.28 kB / 0.8466 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.1974, allocations: 73.69 kB / 0.8467 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1976, allocations: 330.8 kB / 0.847 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.1979, allocations: 159.9 kB / 0.8471 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.1982, allocations: 245.5 kB / 0.8474 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/0.1988, allocations: 414.8 kB / 0.8478 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1988, allocations: 0 / 0.8478 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001236/0.2001, allocations: 0.5925 MB / 0.8483 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2001, allocations: 4 kB / 0.8483 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2001, allocations: 4.312 kB / 0.8483 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000712/0.2008, allocations: 192.6 kB / 0.8485 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.2011, allocations: 63.89 kB / 0.8486 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.2042, allocations: 2.365 MB / 0.8509 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.2046, allocations: 24.08 kB / 0.8509 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.2046, allocations: 19.92 kB / 0.8509 GB, free: 5.879 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.0001982/0.2048, allocations: 170.3 kB / 0.8511 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.2049, allocations: 27.8 kB / 0.8511 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/0.2055, allocations: 355.6 kB / 0.8515 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2055, allocations: 12.05 kB / 0.8515 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.2055, allocations: 0 / 0.8515 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2055, allocations: 0 / 0.8515 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.2066, allocations: 0.7528 MB / 0.8522 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2066, allocations: 0 / 0.8522 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.207, allocations: 79.88 kB / 0.8523 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.207, allocations: 0 / 0.8523 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.207, allocations: 4 kB / 0.8523 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.207, allocations: 4 kB / 0.8523 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.207, allocations: 0 / 0.8523 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/0.2078, allocations: 0.6114 MB / 0.8529 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.208, allocations: 59.81 kB / 0.8529 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.208, allocations: 11.94 kB / 0.853 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.2083, allocations: 15.98 kB / 0.853 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.2083, allocations: 15.91 kB / 0.853 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.2083, allocations: 8 kB / 0.853 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000236/0.2086, allocations: 188.5 kB / 0.8532 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2086, allocations: 0 / 0.8532 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000408/0.209, allocations: 88 kB / 0.8533 GB, free: 3.414 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.001165/0.2101, allocations: 1.156 MB / 0.8544 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009767/0.2111, allocations: 0.5272 MB / 0.8549 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2111, allocations: 0 / 0.8549 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.2113, allocations: 139.9 kB / 0.855 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.2118, allocations: 61.72 kB / 0.8551 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.2173, allocations: 3.707 MB / 0.8587 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.2175, allocations: 190 kB / 0.8589 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.2177, allocations: 78.89 kB / 0.859 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.2179, allocations: 83.41 kB / 0.8591 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.2179, allocations: 4 kB / 0.8591 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.2495, allocations: 7.416 MB / 0.8663 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.53, allocations: 13.5 kB / 0.8663 GB, free: 6.035 MB / 0.6075 GB " [Timeout remaining time 647] (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: 16.86420351592824] Failed to read output from testmodel.py, exit status != 0: 12.69904938293621 12.717275485 12.52643921 Calling exit ...