Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.00126/0.00126, allocations: 108.8 kB / 17.17 MB, free: 5.867 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.001196/0.001196, allocations: 196.5 kB / 20.12 MB, free: 2.93 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.406/1.406, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.05471/0.05471, allocations: 8.236 MB / 311.6 MB, free: 2.07 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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 71.89 kB / 434 MB, free: 11.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2738, allocations: 54.35 MB / 488.3 MB, free: 27.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002348/0.2762, allocations: 1.258 MB / 489.6 MB, free: 26.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2776, allocations: 1.262 MB / 490.8 MB, free: 25.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.277e-05/0.2777, allocations: 2.812 kB / 490.8 MB, free: 25.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.278, allocations: 73.06 kB / 490.9 MB, free: 25.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.2781, allocations: 54.72 kB / 491 MB, free: 25.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.2788, allocations: 368 kB / 491.3 MB, free: 25.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.2789, allocations: 121.1 kB / 491.4 MB, free: 25.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2791, allocations: 46.09 kB / 491.5 MB, free: 25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.28e-05/0.2791, allocations: 61.03 kB / 491.5 MB, free: 24.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.2793, allocations: 61.23 kB / 491.6 MB, free: 24.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.2793, allocations: 11.97 kB / 491.6 MB, free: 24.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.2795, allocations: 103.1 kB / 491.7 MB, free: 24.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.2795, allocations: 27.66 kB / 491.7 MB, free: 24.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.2796, allocations: 67.95 kB / 491.8 MB, free: 24.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.2798, allocations: 216.6 kB / 492 MB, free: 24.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2799, allocations: 3.938 kB / 492 MB, free: 24.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2799, allocations: 0 / 492 MB, free: 24.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.2799, allocations: 0 / 492 MB, free: 24.66 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007935/0.2807, allocations: 482.7 kB / 492.5 MB, free: 24.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2807, allocations: 12.89 kB / 492.5 MB, free: 24.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.2807, allocations: 51.64 kB / 492.6 MB, free: 24.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.2808, allocations: 15.28 kB / 492.6 MB, free: 24.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.2809, allocations: 188.5 kB / 492.8 MB, free: 23.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2809, allocations: 8.938 kB / 492.8 MB, free: 23.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.2809, allocations: 7.688 kB / 492.8 MB, free: 23.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2811, allocations: 134.8 kB / 492.9 MB, free: 23.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2812, allocations: 5.844 kB / 492.9 MB, free: 23.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2812, allocations: 4 kB / 492.9 MB, free: 23.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2812, allocations: 4.5 kB / 492.9 MB, free: 23.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.2813, allocations: 99.97 kB / 493 MB, free: 23.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.2819, allocations: 496.1 kB / 493.5 MB, free: 23.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.2822, allocations: 96.05 kB / 493.6 MB, free: 23.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.2822, allocations: 30.41 kB / 493.6 MB, free: 23.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.2823, allocations: 81.23 kB / 493.7 MB, free: 23.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.2823, allocations: 43.81 kB / 493.7 MB, free: 23.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.2823, allocations: 0 / 493.7 MB, free: 23.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000503/0.2828, allocations: 222.5 kB / 494 MB, free: 22.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.2829, allocations: 52.72 kB / 494 MB, free: 22.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.283, allocations: 137.7 kB / 494.1 MB, free: 22.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.283, allocations: 30.8 kB / 494.2 MB, free: 22.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.2831, allocations: 130.9 kB / 494.3 MB, free: 22.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.2831, allocations: 30.16 kB / 494.3 MB, free: 22.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.2831, allocations: 24.61 kB / 494.4 MB, free: 22.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.2832, allocations: 324.9 kB / 494.7 MB, free: 22.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.553e-05/0.2832, allocations: 29.73 kB / 494.7 MB, free: 22.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/0.2832, allocations: 23.03 kB / 494.7 MB, free: 22.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.663e-05/0.2833, allocations: 66.09 kB / 494.8 MB, free: 22.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2833, allocations: 4 kB / 494.8 MB, free: 22.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002339/0.2836, allocations: 133.5 kB / 494.9 MB, free: 22.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2836, allocations: 4.562 kB / 494.9 MB, free: 22.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2836, allocations: 1.094 kB / 494.9 MB, free: 22.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.2838, allocations: 35.7 kB / 495 MB, free: 22.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/0.2839, allocations: 18.95 kB / 495 MB, free: 22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007842/0.2847, allocations: 1.417 MB / 496.4 MB, free: 20.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.402e-05/0.2847, allocations: 6.656 kB / 496.4 MB, free: 20.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.2847, allocations: 6.047 kB / 496.4 MB, free: 20.52 MB / 366.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 (9): * Single equations (assignments): 8 * 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 6.771e-05/0.2848, allocations: 128.5 kB / 496.5 MB, free: 20.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.2848, allocations: 8.141 kB / 496.5 MB, free: 20.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.2851, allocations: 127.2 kB / 496.7 MB, free: 20.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2851, allocations: 1.094 kB / 496.7 MB, free: 20.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.2851, allocations: 5 kB / 496.7 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2851, allocations: 0 / 496.7 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.2853, allocations: 221.4 kB / 496.9 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2853, allocations: 0 / 496.9 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.2853, allocations: 10.53 kB / 496.9 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.2854, allocations: 32.45 kB / 496.9 MB, free: 20.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-06/0.2854, allocations: 1.531 kB / 496.9 MB, free: 20.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006617/0.2861, allocations: 1.414 MB / 498.4 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2861, allocations: 1.375 kB / 498.4 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.2863, allocations: 202.7 kB / 498.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.2863, allocations: 94.3 kB / 498.6 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.2863, allocations: 5.375 kB / 498.7 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2864, allocations: 4.125 kB / 498.7 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.2865, allocations: 14.8 kB / 498.7 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.2865, allocations: 2.75 kB / 498.7 MB, free: 18.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.099e-05/0.2865, allocations: 109.1 kB / 498.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2865, allocations: 0 / 498.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.2868, allocations: 40.81 kB / 498.8 MB, free: 18.16 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 (6): * Single equations (assignments): 5 * 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.0004225/0.2872, allocations: 0.7465 MB / 499.6 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003389/0.2876, allocations: 184.4 kB / 499.7 MB, free: 17.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2876, allocations: 0 / 499.7 MB, free: 17.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.2877, allocations: 152.4 kB / 499.9 MB, free: 17.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.288, allocations: 9.469 kB / 499.9 MB, free: 17.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.2895, allocations: 1.617 MB / 0.4898 GB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.2896, allocations: 0.7093 MB / 0.4905 GB, free: 15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.864e-05/0.2897, allocations: 9.875 kB / 0.4905 GB, free: 15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.2897, allocations: 36.52 kB / 0.4905 GB, free: 14.97 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2897, allocations: 0 / 0.4905 GB, free: 14.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.3156, allocations: 2.96 MB / 0.4934 GB, free: 13.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.311/9.626, allocations: 23.91 kB / 0.4934 GB, free: 13.39 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.04064346384257] Failed to read output from testmodel.py, exit status != 0: 9.70731738070026 9.727531494 9.44396195 Calling exit ...