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.001753/0.001753, allocations: 111.7 kB / 17.12 MB, free: 5.945 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.002519/0.002519, allocations: 209 kB / 20.09 MB, free: 2.996 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.57/1.57, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9954/0.9954, allocations: 150 MB / 459.5 MB, free: 5.238 MB / 350.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.002989/0.002989, allocations: 67.89 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.201, allocations: 89.14 MB / 0.7232 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006365/0.2074, allocations: 3.297 MB / 0.7264 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003939/0.2113, allocations: 2.076 MB / 0.7284 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.2116, allocations: 7.938 kB / 0.7284 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.2127, allocations: 290.8 kB / 0.7287 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007153/0.2134, allocations: 246.9 kB / 0.7289 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008532/0.2142, allocations: 297.8 kB / 0.7292 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000681/0.2149, allocations: 402.8 kB / 0.7296 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.2153, allocations: 172.2 kB / 0.7298 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003725/0.2157, allocations: 167.5 kB / 0.7299 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.2162, allocations: 211.2 kB / 0.7301 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.024e-05/0.2162, allocations: 24 kB / 0.7301 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.2168, allocations: 275.5 kB / 0.7304 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.2169, allocations: 119.7 kB / 0.7305 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.2171, allocations: 151.2 kB / 0.7307 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007684/0.2179, allocations: 494.2 kB / 0.7311 GB, free: 11.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2179, allocations: 0 / 0.7311 GB, free: 11.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2179, allocations: 0 / 0.7311 GB, free: 11.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.2179, allocations: 4 kB / 0.7311 GB, free: 11.84 MB / 0.545 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.001342/0.2193, allocations: 0.6056 MB / 0.7317 GB, free: 11.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.2193, allocations: 12.03 kB / 0.7317 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.299e-05/0.2194, allocations: 62.66 kB / 0.7318 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.2205, allocations: 120.6 kB / 0.7319 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.221, allocations: 280.6 kB / 0.7322 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.221, allocations: 20.94 kB / 0.7322 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.2211, allocations: 44.41 kB / 0.7323 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008216/0.222, allocations: 449.1 kB / 0.7327 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.222, allocations: 0 / 0.7327 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.222, allocations: 15.98 kB / 0.7327 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/0.2222, allocations: 40.53 kB / 0.7327 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007196/0.2229, allocations: 369.9 kB / 0.7331 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.2261, allocations: 2.215 MB / 0.7353 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007152/0.2269, allocations: 246.4 kB / 0.7355 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/0.2272, allocations: 140.8 kB / 0.7356 GB, free: 6.906 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.2273, allocations: 4 kB / 0.7356 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.2273, allocations: 38.5 kB / 0.7357 GB, free: 6.855 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.2273, allocations: 0 / 0.7357 GB, free: 6.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002942/0.2302, allocations: 1.072 MB / 0.7367 GB, free: 5.719 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.2303, allocations: 55.41 kB / 0.7368 GB, free: 5.652 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.2308, allocations: 256.9 kB / 0.737 GB, free: 5.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.2309, allocations: 33.7 kB / 0.737 GB, free: 5.352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.2311, allocations: 192.4 kB / 0.7372 GB, free: 5.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.2312, allocations: 87.27 kB / 0.7373 GB, free: 5.074 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.2314, allocations: 73.64 kB / 0.7374 GB, free: 4.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.2316, allocations: 342.8 kB / 0.7377 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.2321, allocations: 151.9 kB / 0.7378 GB, free: 4.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/0.2327, allocations: 245.6 kB / 0.7381 GB, free: 4.227 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009752/0.2337, allocations: 414.8 kB / 0.7385 GB, free: 3.789 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2337, allocations: 7.938 kB / 0.7385 GB, free: 3.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002059/0.2358, allocations: 0.5896 MB / 0.7391 GB, free: 3.184 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.2358, allocations: 4 kB / 0.7391 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.2358, allocations: 4 kB / 0.7391 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.2369, allocations: 184.8 kB / 0.7392 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.2375, allocations: 67.88 kB / 0.7393 GB, free: 2.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005101/0.2426, allocations: 2.5 MB / 0.7417 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000682/0.2433, allocations: 23.97 kB / 0.7418 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.2433, allocations: 20 kB / 0.7418 GB, free: 244 kB / 0.545 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.0003246/0.2437, allocations: 166.5 kB / 0.7419 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2438, allocations: 23.86 kB / 0.742 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000998/0.2448, allocations: 359.7 kB / 0.7423 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2448, allocations: 0 / 0.7423 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.2448, allocations: 0 / 0.7423 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.2448, allocations: 4 kB / 0.7423 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.2467, allocations: 0.8159 MB / 0.7431 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2467, allocations: 0 / 0.7431 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000681/0.2474, allocations: 75.94 kB / 0.7432 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.2474, allocations: 64 / 0.7432 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.2475, allocations: 15.98 kB / 0.7432 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2475, allocations: 0 / 0.7432 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2475, allocations: 0 / 0.7432 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.2488, allocations: 0.6118 MB / 0.7438 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.249, allocations: 129 kB / 0.7439 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/0.2491, allocations: 4 kB / 0.7439 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.2495, allocations: 19.98 kB / 0.7439 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.2496, allocations: 15.92 kB / 0.744 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.2496, allocations: 8 kB / 0.744 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003923/0.25, allocations: 188.5 kB / 0.7441 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.25, allocations: 0 / 0.7441 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007916/0.2508, allocations: 91.98 kB / 0.7442 GB, free: 13.62 MB / 0.5606 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.001781/0.2526, allocations: 1.158 MB / 0.7454 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.2541, allocations: 0.5065 MB / 0.7459 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.2541, allocations: 4 kB / 0.7459 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.2545, allocations: 139.8 kB / 0.746 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.2552, allocations: 69.59 kB / 0.7461 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008673/0.2639, allocations: 3.694 MB / 0.7497 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/0.2645, allocations: 0.7951 MB / 0.7505 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000268/0.2648, allocations: 78.92 kB / 0.7505 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.265, allocations: 79.41 kB / 0.7506 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.265, allocations: 0 / 0.7506 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04205/0.307, allocations: 6.977 MB / 0.7574 GB, free: 92 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.45, allocations: 20.59 kB / 0.7574 GB, free: 76 kB / 0.5606 GB " [Timeout remaining time 649] (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: 14.595803319942206] Failed to read output from testmodel.py, exit status != 0: 10.540222560986876 10.564705715 10.34188848 Calling exit ...