Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.0008324/0.0008324, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008941/0.0008941, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.8883/0.8883, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001684/0.001684, allocations: 235.1 kB / 259.4 MB, free: 13.02 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.6781/0.6781, allocations: 138.4 MB / 454.3 MB, free: 30.01 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.Examples.GridDCLoad,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.6463 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.217e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.2353/0.2353, allocations: 3.02 MB / 0.6492 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.2371, allocations: 1.853 MB / 0.651 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.615e-05/0.2372, allocations: 3.375 kB / 0.651 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.2378, allocations: 279 kB / 0.6513 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.2381, allocations: 205.1 kB / 0.6515 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.2384, allocations: 261 kB / 0.6517 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.2386, allocations: 337.9 kB / 0.6521 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.2389, allocations: 147.1 kB / 0.6522 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.2391, allocations: 189.5 kB / 0.6524 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.2393, allocations: 141.6 kB / 0.6525 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.2393, allocations: 20.72 kB / 0.6525 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.2397, allocations: 379.8 kB / 0.6529 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.746e-05/0.2397, allocations: 92.34 kB / 0.653 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.854e-05/0.2398, allocations: 89.44 kB / 0.6531 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.2403, allocations: 0.5146 MB / 0.6536 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2403, allocations: 1.688 kB / 0.6536 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2403, allocations: 0 / 0.6536 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2403, allocations: 0 / 0.6536 GB, free: 54.02 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000568/0.2409, allocations: 0.4968 MB / 0.6541 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2409, allocations: 13.22 kB / 0.6541 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.2409, allocations: 56.97 kB / 0.6541 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004225/0.2414, allocations: 109.6 kB / 0.6542 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.2416, allocations: 205.7 kB / 0.6544 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2416, allocations: 17.88 kB / 0.6544 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.2416, allocations: 21.34 kB / 0.6545 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.242, allocations: 404.5 kB / 0.6549 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.242, allocations: 1.531 kB / 0.6549 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.242, allocations: 13.95 kB / 0.6549 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.2421, allocations: 26.19 kB / 0.6549 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.2424, allocations: 301.7 kB / 0.6552 GB, free: 53.01 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.2435, allocations: 1.268 MB / 0.6564 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.2438, allocations: 241.3 kB / 0.6566 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.2439, allocations: 104.5 kB / 0.6567 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.2439, allocations: 10.53 kB / 0.6568 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.2439, allocations: 37.02 kB / 0.6568 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.2439, allocations: 0.875 kB / 0.6568 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.001466/0.2454, allocations: 0.9016 MB / 0.6577 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.2454, allocations: 80.89 kB / 0.6578 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.2456, allocations: 221.6 kB / 0.658 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2456, allocations: 26.36 kB / 0.658 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.2456, allocations: 174 kB / 0.6582 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.2457, allocations: 88.5 kB / 0.6582 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.2457, allocations: 63.97 kB / 0.6583 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.2458, allocations: 334.1 kB / 0.6586 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.2459, allocations: 130.7 kB / 0.6587 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.2461, allocations: 212.7 kB / 0.6589 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.2464, allocations: 363.4 kB / 0.6593 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2464, allocations: 1.125 kB / 0.6593 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005248/0.2469, allocations: 0.5092 MB / 0.6598 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2469, allocations: 6.75 kB / 0.6598 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2469, allocations: 14.28 kB / 0.6598 GB, free: 50.03 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.2472, allocations: 151.1 kB / 0.66 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.2474, allocations: 56.55 kB / 0.66 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.2489, allocations: 3.97 MB / 0.6639 GB, free: 46.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2491, allocations: 20.08 kB / 0.6639 GB, free: 46.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.2491, allocations: 14.66 kB / 0.6639 GB, free: 46.21 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.2492, allocations: 168.1 kB / 0.6641 GB, free: 46.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.2492, allocations: 27.73 kB / 0.6641 GB, free: 46.06 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000602/0.2498, allocations: 462.8 kB / 0.6645 GB, free: 45.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2498, allocations: 8.094 kB / 0.6646 GB, free: 45.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2499, allocations: 0 / 0.6646 GB, free: 45.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2499, allocations: 7.984 kB / 0.6646 GB, free: 45.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.2509, allocations: 0.9366 MB / 0.6655 GB, free: 45.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2509, allocations: 2.156 kB / 0.6655 GB, free: 45.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.2509, allocations: 37.97 kB / 0.6655 GB, free: 45.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002214/0.2512, allocations: 147.2 kB / 0.6657 GB, free: 45.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.2512, allocations: 9.562 kB / 0.6657 GB, free: 45.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.2525, allocations: 3.938 MB / 0.6695 GB, free: 41.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2525, allocations: 1.656 kB / 0.6695 GB, free: 41.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.253, allocations: 0.6152 MB / 0.6701 GB, free: 41.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.2531, allocations: 49.5 kB / 0.6702 GB, free: 40.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.2531, allocations: 8.219 kB / 0.6702 GB, free: 40.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2532, allocations: 27.94 kB / 0.6702 GB, free: 40.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.2533, allocations: 28.84 kB / 0.6702 GB, free: 40.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.2533, allocations: 9.031 kB / 0.6702 GB, free: 40.97 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001013/0.2534, allocations: 159.3 kB / 0.6704 GB, free: 40.87 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2534, allocations: 0 / 0.6704 GB, free: 40.87 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004081/0.2538, allocations: 91.12 kB / 0.6705 GB, free: 40.86 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007811/0.2546, allocations: 1.218 MB / 0.6717 GB, free: 39.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006142/0.2552, allocations: 0.5614 MB / 0.6722 GB, free: 39.53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2552, allocations: 2.219 kB / 0.6722 GB, free: 39.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.2555, allocations: 391.5 kB / 0.6726 GB, free: 39.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.2559, allocations: 42.98 kB / 0.6726 GB, free: 39.24 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.2584, allocations: 3.318 MB / 0.6759 GB, free: 36.92 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.2585, allocations: 170.5 kB / 0.676 GB, free: 36.83 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.2586, allocations: 60.45 kB / 0.6761 GB, free: 36.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.2587, allocations: 70.28 kB / 0.6762 GB, free: 36.77 MB / 0.5573 GB Notification: Performance of SimCode: time 8.12e-07/0.2587, allocations: 4 kB / 0.6762 GB, free: 36.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.2827, allocations: 7.513 MB / 0.6835 GB, free: 35.44 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.111, allocations: 7.75 kB / 0.6835 GB, free: 35.44 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad_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_Examples_GridDCLoad.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.786094130948186] Failed to read output from testmodel.py, exit status != 0: 8.20359855145216 8.21289502 7.970499194 Calling exit ...