Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001315/0.001315, allocations: 119 kB / 19.69 MB, free: 2.199 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.001449/0.001449, allocations: 221.3 kB / 23.01 MB, free: 5.043 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9953/0.9953, allocations: 150 MB / 463.2 MB, free: 10.52 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002032/0.002032, allocations: 69.58 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.176, allocations: 89.17 MB / 0.7284 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005184/0.1811, allocations: 3.38 MB / 0.7317 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003499/0.1846, allocations: 2.111 MB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1848, allocations: 11.94 kB / 0.7337 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.1858, allocations: 314.7 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005233/0.1863, allocations: 234.9 kB / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007206/0.187, allocations: 291.2 kB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.1875, allocations: 410.7 kB / 0.7349 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.1879, allocations: 172.2 kB / 0.7351 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.1881, allocations: 163.5 kB / 0.7352 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.1885, allocations: 219.2 kB / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.1886, allocations: 24 kB / 0.7355 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.189, allocations: 275.5 kB / 0.7357 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.1891, allocations: 119.6 kB / 0.7358 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.1893, allocations: 147.3 kB / 0.736 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006383/0.1899, allocations: 490.3 kB / 0.7365 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1899, allocations: 0 / 0.7365 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1899, allocations: 0 / 0.7365 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.19, allocations: 0 / 0.7365 GB, free: 9.004 MB / 0.5606 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.001128/0.1911, allocations: 0.54 MB / 0.737 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1911, allocations: 12.03 kB / 0.737 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.884e-05/0.1912, allocations: 58.73 kB / 0.7371 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000965/0.1922, allocations: 120.6 kB / 0.7372 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.1926, allocations: 226.7 kB / 0.7374 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1926, allocations: 16.86 kB / 0.7374 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.1927, allocations: 36.48 kB / 0.7374 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/0.1935, allocations: 457.4 kB / 0.7379 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1935, allocations: 0 / 0.7379 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.1935, allocations: 8 kB / 0.7379 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/0.1937, allocations: 40.47 kB / 0.7379 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000658/0.1943, allocations: 365.7 kB / 0.7383 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.1971, allocations: 2.17 MB / 0.7404 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.1976, allocations: 250.4 kB / 0.7406 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.1978, allocations: 144.8 kB / 0.7408 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1978, allocations: 4 kB / 0.7408 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1979, allocations: 30.56 kB / 0.7408 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.1979, allocations: 0 / 0.7408 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.00183/0.1997, allocations: 0.9166 MB / 0.7417 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.1997, allocations: 55.41 kB / 0.7417 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.2001, allocations: 252.9 kB / 0.742 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.2001, allocations: 33.7 kB / 0.742 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.2002, allocations: 184.4 kB / 0.7422 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.2003, allocations: 91.28 kB / 0.7423 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.2005, allocations: 89.5 kB / 0.7424 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2006, allocations: 334.8 kB / 0.7427 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.2009, allocations: 155.9 kB / 0.7428 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.2013, allocations: 245.5 kB / 0.7431 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/0.202, allocations: 410.8 kB / 0.7435 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.202, allocations: 7.938 kB / 0.7435 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001232/0.2032, allocations: 0.5895 MB / 0.744 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2032, allocations: 10.5 kB / 0.744 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2032, allocations: 8.312 kB / 0.7441 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007129/0.2039, allocations: 188.6 kB / 0.7442 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.2043, allocations: 67.89 kB / 0.7443 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/0.2075, allocations: 2.39 MB / 0.7466 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.2079, allocations: 24.08 kB / 0.7467 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.2079, allocations: 19.98 kB / 0.7467 GB, free: 13.96 MB / 0.5762 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.000214/0.2081, allocations: 169.6 kB / 0.7468 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.2082, allocations: 23.97 kB / 0.7469 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005893/0.2088, allocations: 355.5 kB / 0.7472 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2088, allocations: 4 kB / 0.7472 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.2088, allocations: 0 / 0.7472 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2088, allocations: 4 kB / 0.7472 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.21, allocations: 0.7849 MB / 0.748 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.21, allocations: 0 / 0.748 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.2104, allocations: 75.88 kB / 0.748 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.2105, allocations: 4 kB / 0.7481 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.2105, allocations: 0 / 0.7481 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2105, allocations: 4 kB / 0.7481 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2105, allocations: 4.062 kB / 0.7481 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/0.2114, allocations: 0.6093 MB / 0.7487 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.2115, allocations: 59.94 kB / 0.7487 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.2116, allocations: 11.94 kB / 0.7487 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.2118, allocations: 19.98 kB / 0.7487 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.2118, allocations: 19.91 kB / 0.7488 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.2119, allocations: 12 kB / 0.7488 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002324/0.2121, allocations: 184.5 kB / 0.7489 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2121, allocations: 4 kB / 0.749 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004445/0.2125, allocations: 84 kB / 0.749 GB, free: 11.46 MB / 0.5762 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.001167/0.2137, allocations: 1.158 MB / 0.7502 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.2147, allocations: 0.5142 MB / 0.7507 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2147, allocations: 4 kB / 0.7507 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.2149, allocations: 135.9 kB / 0.7508 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.2154, allocations: 56.28 kB / 0.7509 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005712/0.2211, allocations: 3.702 MB / 0.7545 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.2215, allocations: 0.7912 MB / 0.7552 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002511/0.2218, allocations: 82.89 kB / 0.7553 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.222, allocations: 83.41 kB / 0.7554 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.222, allocations: 0 / 0.7554 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3858/0.6077, allocations: 7.238 MB / 0.7625 GB, free: 34.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.47, allocations: 5.812 kB / 0.7625 GB, free: 34.86 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.392129132000264] Failed to read output from testmodel.py, exit status != 0: 12.581669148999936 12.609772308 12.414639357 Calling exit ...