Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.001693/0.001693, allocations: 107.2 kB / 17.12 MB, free: 5.938 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.001872/0.001873, 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.378/1.378, allocations: 222.9 MB / 245.8 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 179] 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.156/0.156, allocations: 8.086 MB / 306 MB, free: 2.656 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.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002921/0.002922, allocations: 63.89 kB / 422.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2503, allocations: 51.52 MB / 474.2 MB, free: 21.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.002948/0.2532, allocations: 2.691 MB / 476.9 MB, free: 19.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.255, allocations: 1.63 MB / 478.5 MB, free: 18.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.2552, allocations: 7.531 kB / 478.5 MB, free: 18.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.2556, allocations: 167 kB / 478.7 MB, free: 18.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.256, allocations: 223.2 kB / 478.9 MB, free: 18.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.2577, allocations: 1.223 MB / 480.1 MB, free: 17.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.2581, allocations: 472.9 kB / 480.6 MB, free: 17.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.2584, allocations: 162.3 kB / 480.8 MB, free: 16.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.2585, allocations: 190 kB / 481 MB, free: 16.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.2588, allocations: 237.2 kB / 481.2 MB, free: 16.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.794e-05/0.2588, allocations: 37.16 kB / 481.2 MB, free: 16.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.2592, allocations: 277.6 kB / 481.5 MB, free: 16.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.2593, allocations: 93.97 kB / 481.6 MB, free: 16.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.2595, allocations: 220.7 kB / 481.8 MB, free: 16.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005985/0.2601, allocations: 0.6394 MB / 482.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2601, allocations: 0 / 482.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2601, allocations: 0 / 482.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2601, allocations: 1.156 kB / 482.4 MB, free: 15.88 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004663/0.2648, allocations: 1.423 MB / 483.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.2648, allocations: 12.64 kB / 483.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.512e-05/0.2649, allocations: 71.09 kB / 483.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.265, allocations: 49.44 kB / 484 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.2654, allocations: 331.9 kB / 484.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.2654, allocations: 29.06 kB / 484.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.2655, allocations: 37.88 kB / 484.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.2662, allocations: 0.5163 MB / 484.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2662, allocations: 3.938 kB / 484.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.2662, allocations: 15.75 kB / 484.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2663, allocations: 12.94 kB / 484.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.2669, allocations: 443.6 kB / 485.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.269, allocations: 2.11 MB / 487.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008488/0.2698, allocations: 0.5815 MB / 488.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.2702, allocations: 274.9 kB / 488.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.681e-05/0.2702, allocations: 9.297 kB / 488.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.2703, allocations: 50.61 kB / 488.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.2703, allocations: 0 / 488.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00672/0.277, allocations: 1.939 MB / 490.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.2771, allocations: 111.2 kB / 490.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.2774, allocations: 272.4 kB / 490.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.2774, allocations: 41.14 kB / 490.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.2775, allocations: 185.5 kB / 490.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.018e-05/0.2776, allocations: 151.9 kB / 491.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.2778, allocations: 104.7 kB / 491.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.2778, allocations: 346.2 kB / 491.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.2782, allocations: 285.2 kB / 491.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.2786, allocations: 338 kB / 492.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008042/0.2794, allocations: 0.6197 MB / 492.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2795, allocations: 0 / 492.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003068/0.2825, allocations: 1.246 MB / 494 MB, free: 7.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2826, allocations: 5.5 kB / 494 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2826, allocations: 7.984 kB / 494 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003318/0.2859, allocations: 0.7746 MB / 494.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.2862, allocations: 86.39 kB / 494.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/0.292, allocations: 4.011 MB / 498.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004242/0.2924, allocations: 51.62 kB / 498.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.2925, allocations: 19.98 kB / 498.9 MB, free: 3.148 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 (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.2927, allocations: 177.6 kB / 499.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.2928, allocations: 35.77 kB / 499.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/0.2956, allocations: 1.171 MB / 0.4886 GB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2957, allocations: 4 kB / 0.4886 GB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2957, allocations: 0 / 0.4886 GB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2957, allocations: 7.984 kB / 0.4886 GB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.299, allocations: 1.756 MB / 0.4903 GB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.299, allocations: 7.922 kB / 0.4903 GB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.2992, allocations: 59.86 kB / 0.4904 GB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00334/0.3026, allocations: 0.7448 MB / 0.4911 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.3026, allocations: 11.94 kB / 0.4911 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007044/0.3097, allocations: 3.968 MB / 0.495 GB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3097, allocations: 4 kB / 0.495 GB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/0.3129, allocations: 1.192 MB / 0.4962 GB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.3131, allocations: 116.7 kB / 0.4963 GB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.3132, allocations: 15.98 kB / 0.4963 GB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.3135, allocations: 27.98 kB / 0.4963 GB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3137, allocations: 36.39 kB / 0.4963 GB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.3137, allocations: 12 kB / 0.4964 GB, free: 9.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.3139, allocations: 190 kB / 0.4965 GB, free: 9.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3139, allocations: 0 / 0.4965 GB, free: 9.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006295/0.3146, allocations: 191.9 kB / 0.4967 GB, free: 9.176 MB / 366.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 (35): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003648/0.3182, allocations: 1.759 MB / 0.4984 GB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.3207, allocations: 1.015 MB / 0.4994 GB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.3207, allocations: 4 kB / 0.4994 GB, free: 6.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.3225, allocations: 0.6608 MB / 0.5001 GB, free: 5.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.323, allocations: 41.19 kB / 0.5001 GB, free: 5.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.3333, allocations: 5.15 MB / 0.5052 GB, free: 412 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.3338, allocations: 0.8091 MB / 0.5059 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.334, allocations: 58.86 kB / 0.506 GB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.3342, allocations: 135.4 kB / 0.5061 GB, free: 15.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3342, allocations: 0 / 0.5061 GB, free: 15.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04306/0.3773, allocations: 14.96 MB / 0.5207 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.83, allocations: 4.75 kB / 0.5207 GB, free: 0.6328 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_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_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.316202385001816] Failed to read output from testmodel.py, exit status != 0: 11.925689865951426 11.937479047 11.674933114 Calling exit ...