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.0007508/0.0007508, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000782/0.000782, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.86/0.86, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.0014/0.0014, allocations: 233.6 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6634/0.6634, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.028e-05, allocations: 4.953 kB / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.2465/0.2465, allocations: 3.195 MB / 0.6494 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.2486, allocations: 1.963 MB / 0.6513 GB, free: 55 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2488, allocations: 14.03 kB / 0.6513 GB, free: 55 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006388/0.2494, allocations: 290.3 kB / 0.6516 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.2497, allocations: 241.1 kB / 0.6519 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.2502, allocations: 295.5 kB / 0.6521 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.2505, allocations: 419.2 kB / 0.6525 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.2508, allocations: 168.6 kB / 0.6527 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.251, allocations: 224.4 kB / 0.6529 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.2513, allocations: 185.9 kB / 0.6531 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.2513, allocations: 26.22 kB / 0.6531 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.2516, allocations: 250.2 kB / 0.6533 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.2517, allocations: 127.8 kB / 0.6535 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.2518, allocations: 104.3 kB / 0.6536 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.2522, allocations: 0.5056 MB / 0.6541 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2522, allocations: 1.531 kB / 0.6541 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2522, allocations: 0.5 kB / 0.6541 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.2522, allocations: 0.6562 kB / 0.6541 GB, free: 53.88 MB / 0.5573 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.000688/0.2529, allocations: 0.5262 MB / 0.6546 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2529, allocations: 15.52 kB / 0.6546 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.253, allocations: 61.59 kB / 0.6547 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005288/0.2535, allocations: 121.2 kB / 0.6548 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.2538, allocations: 220.3 kB / 0.655 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2538, allocations: 19.16 kB / 0.655 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.2539, allocations: 39.52 kB / 0.655 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.2544, allocations: 0.5217 MB / 0.6555 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.2545, allocations: 5.688 kB / 0.6556 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.2545, allocations: 12.34 kB / 0.6556 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.96e-05/0.2546, allocations: 39.62 kB / 0.6556 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.255, allocations: 364.7 kB / 0.6559 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.2564, allocations: 1.638 MB / 0.6575 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.2567, allocations: 245.2 kB / 0.6578 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.2568, allocations: 148.6 kB / 0.6579 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.2568, allocations: 3.531 kB / 0.6579 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.2568, allocations: 37.06 kB / 0.658 GB, free: 51.35 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=22): time 1.704e-06/0.2568, allocations: 0 / 0.658 GB, free: 51.35 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.001181/0.258, allocations: 0.9118 MB / 0.6589 GB, free: 50.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.258, allocations: 55.41 kB / 0.6589 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.2582, allocations: 265.3 kB / 0.6592 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.2583, allocations: 29.7 kB / 0.6592 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.2583, allocations: 187.7 kB / 0.6594 GB, free: 50.49 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.2584, allocations: 92.39 kB / 0.6595 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-05/0.2584, allocations: 78.59 kB / 0.6595 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.81e-05/0.2585, allocations: 335.3 kB / 0.6598 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.2587, allocations: 159.3 kB / 0.66 GB, free: 50 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.2589, allocations: 244.6 kB / 0.6602 GB, free: 49.85 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.2592, allocations: 409.1 kB / 0.6606 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2592, allocations: 2.688 kB / 0.6606 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007463/0.26, allocations: 0.6019 MB / 0.6612 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.26, allocations: 6.953 kB / 0.6612 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.26, allocations: 4.375 kB / 0.6612 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003995/0.2604, allocations: 182.9 kB / 0.6614 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.2606, allocations: 67.17 kB / 0.6615 GB, free: 49.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.2623, allocations: 2.365 MB / 0.6638 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.2625, allocations: 27.28 kB / 0.6638 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.2625, allocations: 11.95 kB / 0.6638 GB, free: 47.64 MB / 0.5573 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.0001132/0.2626, allocations: 173.2 kB / 0.664 GB, free: 47.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.2626, allocations: 26.5 kB / 0.664 GB, free: 47.48 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.263, allocations: 358.7 kB / 0.6643 GB, free: 47.32 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.263, allocations: 1.594 kB / 0.6643 GB, free: 47.32 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.263, allocations: 2.125 kB / 0.6643 GB, free: 47.32 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.263, allocations: 3.703 kB / 0.6643 GB, free: 47.32 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006656/0.2636, allocations: 0.7541 MB / 0.6651 GB, free: 46.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2636, allocations: 1.094 kB / 0.6651 GB, free: 46.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.2639, allocations: 81.23 kB / 0.6652 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2639, allocations: 2.781 kB / 0.6652 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.2639, allocations: 8.969 kB / 0.6652 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2639, allocations: 1.844 kB / 0.6652 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2639, allocations: 0 / 0.6652 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.2644, allocations: 0.6077 MB / 0.6658 GB, free: 46.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.2644, allocations: 53.23 kB / 0.6658 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.2645, allocations: 6.719 kB / 0.6658 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2646, allocations: 15.94 kB / 0.6658 GB, free: 46.49 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.2646, allocations: 15.33 kB / 0.6659 GB, free: 46.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.2646, allocations: 12.95 kB / 0.6659 GB, free: 46.49 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001246/0.2647, allocations: 187.9 kB / 0.666 GB, free: 46.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2647, allocations: 0 / 0.666 GB, free: 46.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002977/0.265, allocations: 94.42 kB / 0.6661 GB, free: 46.36 MB / 0.5573 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.0006308/0.2657, allocations: 1.155 MB / 0.6673 GB, free: 45.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006183/0.2663, allocations: 0.524 MB / 0.6678 GB, free: 45.24 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2663, allocations: 0 / 0.6678 GB, free: 45.24 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.2664, allocations: 136.4 kB / 0.6679 GB, free: 45.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2667, allocations: 63.72 kB / 0.668 GB, free: 45.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.2697, allocations: 3.61 MB / 0.6715 GB, free: 42.94 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.2698, allocations: 185.7 kB / 0.6717 GB, free: 42.85 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.27, allocations: 76.55 kB / 0.6717 GB, free: 42.84 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.2701, allocations: 85.44 kB / 0.6718 GB, free: 42.78 MB / 0.5573 GB Notification: Performance of SimCode: time 8.52e-07/0.2701, allocations: 0 / 0.6718 GB, free: 42.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.2934, allocations: 7.818 MB / 0.6795 GB, free: 41.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.919/7.212, allocations: 8.109 kB / 0.6795 GB, free: 41.48 MB / 0.5573 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 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: 9.79963552672416] Failed to read output from testmodel.py, exit status != 0: 7.297398672439158 7.308394245 7.053977258 Calling exit ...