Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 106.3 kB / 17.12 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 196.5 kB / 20.07 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 245.8 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1719/0.1719, allocations: 8.083 MB / 306 MB, free: 2.66 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.89 kB / 422.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2556, allocations: 51.52 MB / 474.2 MB, free: 21.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.001892/0.2575, allocations: 0.9857 MB / 475.2 MB, free: 21.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2586, allocations: 1.115 MB / 476.3 MB, free: 20.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.2586, allocations: 1.375 kB / 476.3 MB, free: 20.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.2589, allocations: 57.7 kB / 476.4 MB, free: 20.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.259, allocations: 30.66 kB / 476.4 MB, free: 20.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.2595, allocations: 330.3 kB / 476.7 MB, free: 19.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.923e-05/0.2596, allocations: 77.5 kB / 476.8 MB, free: 19.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2598, allocations: 30.91 kB / 476.8 MB, free: 19.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.2598, allocations: 37.7 kB / 476.9 MB, free: 19.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.2599, allocations: 41.42 kB / 476.9 MB, free: 19.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.26, allocations: 7.344 kB / 476.9 MB, free: 19.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.2601, allocations: 81.91 kB / 477 MB, free: 19.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.2601, allocations: 13.27 kB / 477 MB, free: 19.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.2602, allocations: 40.11 kB / 477 MB, free: 19.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.2604, allocations: 144.6 kB / 477.2 MB, free: 19.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2604, allocations: 1.094 kB / 477.2 MB, free: 19.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2604, allocations: 0 / 477.2 MB, free: 19.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2604, allocations: 0 / 477.2 MB, free: 19.56 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006277/0.261, allocations: 425.1 kB / 477.6 MB, free: 19.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2611, allocations: 13.42 kB / 477.6 MB, free: 19.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.2611, allocations: 40.86 kB / 477.6 MB, free: 19.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.2612, allocations: 9.359 kB / 477.7 MB, free: 19.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2613, allocations: 182.8 kB / 477.8 MB, free: 18.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.2613, allocations: 15.7 kB / 477.8 MB, free: 18.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.2613, allocations: 3.531 kB / 477.8 MB, free: 18.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.2615, allocations: 83.34 kB / 477.9 MB, free: 18.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2615, allocations: 3.938 kB / 477.9 MB, free: 18.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2615, allocations: 5.125 kB / 477.9 MB, free: 18.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2615, allocations: 1.094 kB / 477.9 MB, free: 18.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.2616, allocations: 49.48 kB / 478 MB, free: 18.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.262, allocations: 370.5 kB / 478.3 MB, free: 18.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.2623, allocations: 81.12 kB / 478.4 MB, free: 18.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.2623, allocations: 16.45 kB / 478.4 MB, free: 18.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.16e-05/0.2624, allocations: 88.55 kB / 478.5 MB, free: 18.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.2624, allocations: 32.66 kB / 478.6 MB, free: 18.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.2624, allocations: 4 kB / 478.6 MB, free: 18.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004541/0.2629, allocations: 201.3 kB / 478.8 MB, free: 18.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.2629, allocations: 51.41 kB / 478.8 MB, free: 17.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.263, allocations: 118.3 kB / 478.9 MB, free: 17.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.263, allocations: 25.7 kB / 479 MB, free: 17.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.2631, allocations: 109 kB / 479.1 MB, free: 17.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.2631, allocations: 17.44 kB / 479.1 MB, free: 17.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.2631, allocations: 22.95 kB / 479.1 MB, free: 17.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.2632, allocations: 311.8 kB / 479.4 MB, free: 17.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.2632, allocations: 13.42 kB / 479.4 MB, free: 17.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.2632, allocations: 9.938 kB / 479.4 MB, free: 17.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.072e-05/0.2633, allocations: 31.11 kB / 479.5 MB, free: 17.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2633, allocations: 3.938 kB / 479.5 MB, free: 17.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001609/0.2635, allocations: 89.61 kB / 479.5 MB, free: 17.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.2635, allocations: 5.188 kB / 479.6 MB, free: 17.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2635, allocations: 0 / 479.6 MB, free: 17.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.2637, allocations: 30.42 kB / 479.6 MB, free: 17.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.845e-05/0.2637, allocations: 4.531 kB / 479.6 MB, free: 17.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007192/0.2644, allocations: 1.377 MB / 481 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.2645, allocations: 1.438 kB / 481 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2645, allocations: 9.375 kB / 481 MB, free: 15.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.393e-05/0.2646, allocations: 114.5 kB / 481.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.2646, allocations: 6.328 kB / 481.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.2648, allocations: 111.3 kB / 481.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2648, allocations: 1.125 kB / 481.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2648, allocations: 1.156 kB / 481.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2648, allocations: 0 / 481.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.265, allocations: 193.2 kB / 481.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.265, allocations: 1.062 kB / 481.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.265, allocations: 4.969 kB / 481.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001201/0.2651, allocations: 34.42 kB / 481.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.2651, allocations: 3.938 kB / 481.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000627/0.2658, allocations: 1.375 MB / 482.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2658, allocations: 0 / 482.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.266, allocations: 188.2 kB / 483 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.266, allocations: 90.97 kB / 483.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.266, allocations: 5.125 kB / 483.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.2661, allocations: 7.641 kB / 483.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.2661, allocations: 3.125 kB / 483.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.2661, allocations: 6.094 kB / 483.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.2662, allocations: 101.9 kB / 483.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2662, allocations: 0 / 483.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.2665, allocations: 17.38 kB / 483.2 MB, free: 13.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 4 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003689/0.2668, allocations: 0.7275 MB / 483.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.2671, allocations: 154.4 kB / 484.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2671, allocations: 0 / 484.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.2673, allocations: 140.2 kB / 484.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2676, allocations: 17.22 kB / 484.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.2688, allocations: 1.433 MB / 485.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.2689, allocations: 0.6918 MB / 486.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.323e-05/0.2689, allocations: 6.125 kB / 486.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.269, allocations: 35.14 kB / 486.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.269, allocations: 0 / 486.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.2947, allocations: 2.492 MB / 488.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.438/9.732, allocations: 4.906 kB / 488.9 MB, free: 9.121 MB / 350.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.218638836988248] Failed to read output from testmodel.py, exit status != 0: 9.810765663045458 9.829675448 9.56649291 Calling exit ...