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.001347/0.001347, allocations: 104.3 kB / 19.7 MB, free: 2.062 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.001842/0.001842, allocations: 216.2 kB / 22.99 MB, free: 4.867 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.598/1.598, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 1.001/1.001, allocations: 149.9 MB / 463.1 MB, free: 10.34 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.002297/0.002297, allocations: 70.84 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1988, allocations: 89.16 MB / 0.7282 GB, free: 1.074 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.007017/0.2059, allocations: 3.222 MB / 0.7313 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004303/0.2102, allocations: 1.991 MB / 0.7332 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.2104, allocations: 7.938 kB / 0.7333 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.2116, allocations: 298.8 kB / 0.7335 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007455/0.2123, allocations: 230.9 kB / 0.7338 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009577/0.2133, allocations: 291.3 kB / 0.734 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007508/0.214, allocations: 406.7 kB / 0.7344 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/0.2145, allocations: 168.5 kB / 0.7346 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.215, allocations: 175.4 kB / 0.7347 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.2155, allocations: 203.3 kB / 0.7349 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.336e-05/0.2156, allocations: 24 kB / 0.735 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006029/0.2162, allocations: 243.5 kB / 0.7352 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.2164, allocations: 119.7 kB / 0.7353 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.2166, allocations: 127.4 kB / 0.7354 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000948/0.2176, allocations: 490.2 kB / 0.7359 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2176, allocations: 3.938 kB / 0.7359 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2176, allocations: 0 / 0.7359 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.033e-05/0.2176, allocations: 0 / 0.7359 GB, free: 9.102 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.001449/0.219, allocations: 0.54 MB / 0.7364 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.2191, allocations: 8.031 kB / 0.7364 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.952e-05/0.2192, allocations: 62.72 kB / 0.7365 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.2203, allocations: 112.6 kB / 0.7366 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.2208, allocations: 230.7 kB / 0.7368 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.2208, allocations: 20.88 kB / 0.7368 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.221, allocations: 36.48 kB / 0.7369 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009443/0.2219, allocations: 0.5181 MB / 0.7374 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.2219, allocations: 4 kB / 0.7374 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.222, allocations: 11.97 kB / 0.7374 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.2221, allocations: 40.47 kB / 0.7374 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007206/0.2228, allocations: 369.7 kB / 0.7378 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.2256, allocations: 1.644 MB / 0.7394 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.2261, allocations: 242.4 kB / 0.7396 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.2263, allocations: 144.8 kB / 0.7398 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.2264, allocations: 4 kB / 0.7398 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.2264, allocations: 38.56 kB / 0.7398 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.542e-06/0.2264, allocations: 0 / 0.7398 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002007/0.2284, allocations: 0.9135 MB / 0.7407 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.2284, allocations: 51.41 kB / 0.7408 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.2288, allocations: 268.8 kB / 0.741 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.2288, allocations: 25.7 kB / 0.741 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.229, allocations: 196.4 kB / 0.7412 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.2291, allocations: 91.22 kB / 0.7413 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.2292, allocations: 77.62 kB / 0.7414 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2294, allocations: 334.8 kB / 0.7417 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.2297, allocations: 163.8 kB / 0.7419 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.2301, allocations: 237.6 kB / 0.7421 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000667/0.2308, allocations: 410.8 kB / 0.7425 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.2308, allocations: 7.938 kB / 0.7425 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001251/0.232, allocations: 0.5857 MB / 0.7431 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2321, allocations: 15.92 kB / 0.7431 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2321, allocations: 0 / 0.7431 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006997/0.2328, allocations: 192.8 kB / 0.7433 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.2331, allocations: 63.89 kB / 0.7433 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003264/0.2364, allocations: 2.376 MB / 0.7456 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.2368, allocations: 27.97 kB / 0.7457 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.2368, allocations: 12 kB / 0.7457 GB, free: 14.61 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.0002268/0.237, allocations: 169.8 kB / 0.7458 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.2371, allocations: 27.81 kB / 0.7459 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006301/0.2377, allocations: 355.6 kB / 0.7462 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2377, allocations: 4 kB / 0.7462 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.2377, allocations: 0 / 0.7462 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2377, allocations: 3.984 kB / 0.7462 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.239, allocations: 0.7449 MB / 0.7469 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.239, allocations: 0 / 0.7469 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.2394, allocations: 83.94 kB / 0.747 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2394, allocations: 0 / 0.747 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.2394, allocations: 8 kB / 0.747 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2394, allocations: 4 kB / 0.747 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2394, allocations: 3.938 kB / 0.747 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000861/0.2403, allocations: 0.6232 MB / 0.7476 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.2404, allocations: 51.88 kB / 0.7477 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.2405, allocations: 4 kB / 0.7477 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.2407, allocations: 19.97 kB / 0.7477 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.2407, allocations: 19.92 kB / 0.7477 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.2408, allocations: 11.98 kB / 0.7477 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002389/0.241, allocations: 184.5 kB / 0.7479 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.241, allocations: 0 / 0.7479 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004339/0.2414, allocations: 87.98 kB / 0.748 GB, free: 12.15 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.001218/0.2427, allocations: 1.152 MB / 0.7491 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.2437, allocations: 0.5099 MB / 0.7496 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2437, allocations: 0 / 0.7496 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.2439, allocations: 139.9 kB / 0.7498 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.2444, allocations: 70.64 kB / 0.7498 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005761/0.2502, allocations: 3.69 MB / 0.7534 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.2504, allocations: 190.1 kB / 0.7536 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002411/0.2506, allocations: 74.92 kB / 0.7537 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.2508, allocations: 83.34 kB / 0.7538 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.2508, allocations: 0 / 0.7538 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3982/0.649, allocations: 7.647 MB / 0.7612 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.56, allocations: 8.953 kB / 0.7612 GB, free: 34.95 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.682307202834636] Failed to read output from testmodel.py, exit status != 0: 12.676470696926117 12.70132926 12.478621058 Calling exit ...