Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.00129/0.00129, allocations: 110 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.001289/0.001289, allocations: 195.6 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.369/1.369, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.05518/0.05518, allocations: 8.229 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.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 75.88 kB / 434 MB, free: 11.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2619, allocations: 54.35 MB / 488.3 MB, free: 27.42 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002277/0.2642, allocations: 1.691 MB / 490 MB, free: 26.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.2658, allocations: 1.581 MB / 491.6 MB, free: 24.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-05/0.2659, allocations: 3.438 kB / 491.6 MB, free: 24.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.2662, allocations: 130.9 kB / 491.7 MB, free: 24.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.2665, allocations: 126.6 kB / 491.8 MB, free: 24.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.2677, allocations: 0.9295 MB / 492.8 MB, free: 23.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.268, allocations: 268.8 kB / 493 MB, free: 23.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.2681, allocations: 59.06 kB / 493.1 MB, free: 23.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.2682, allocations: 116.5 kB / 493.2 MB, free: 23.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.2684, allocations: 139.3 kB / 493.3 MB, free: 23.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.2684, allocations: 21.22 kB / 493.4 MB, free: 23.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.2687, allocations: 210.7 kB / 493.6 MB, free: 23.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.2688, allocations: 60.08 kB / 493.6 MB, free: 23.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.975e-05/0.2689, allocations: 118.6 kB / 493.7 MB, free: 23.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.2693, allocations: 427.3 kB / 494.2 MB, free: 23.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2693, allocations: 0 / 494.2 MB, free: 23.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2693, allocations: 0 / 494.2 MB, free: 23.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2693, allocations: 3.938 kB / 494.2 MB, free: 23.1 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00221/0.2715, allocations: 0.8553 MB / 495 MB, free: 22.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2715, allocations: 13.48 kB / 495 MB, free: 22.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.2716, allocations: 57.61 kB / 495.1 MB, free: 22.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.2716, allocations: 26.55 kB / 495.1 MB, free: 22.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.2719, allocations: 262.8 kB / 495.4 MB, free: 22.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.2719, allocations: 17.06 kB / 495.4 MB, free: 22.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.2719, allocations: 23.5 kB / 495.4 MB, free: 22.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.2723, allocations: 293.2 kB / 495.7 MB, free: 21.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2723, allocations: 3.938 kB / 495.7 MB, free: 21.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.2723, allocations: 11.19 kB / 495.7 MB, free: 21.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.2723, allocations: 4.688 kB / 495.7 MB, free: 21.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.2727, allocations: 273.6 kB / 496 MB, free: 21.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2739, allocations: 1.04 MB / 497 MB, free: 20.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007985/0.2747, allocations: 421.4 kB / 497.4 MB, free: 20.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.2749, allocations: 158.1 kB / 497.6 MB, free: 20.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.832e-05/0.2749, allocations: 9.719 kB / 497.6 MB, free: 20.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2749, allocations: 40.56 kB / 497.6 MB, free: 20.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.475e-06/0.2749, allocations: 3.984 kB / 497.6 MB, free: 20.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002552/0.2775, allocations: 0.9473 MB / 498.6 MB, free: 19.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.2775, allocations: 58.34 kB / 498.6 MB, free: 19.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.2777, allocations: 213.8 kB / 498.8 MB, free: 19.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.2777, allocations: 32.36 kB / 498.9 MB, free: 19.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.2778, allocations: 145.8 kB / 499 MB, free: 19.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.2778, allocations: 106.3 kB / 499.1 MB, free: 19.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.2779, allocations: 68.84 kB / 499.2 MB, free: 19.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.969e-05/0.278, allocations: 336 kB / 499.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.2782, allocations: 172.4 kB / 499.7 MB, free: 18.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.2784, allocations: 190 kB / 499.9 MB, free: 18.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/0.2789, allocations: 387.6 kB / 0.4885 GB, free: 18.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2789, allocations: 0 / 0.4885 GB, free: 18.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001221/0.2801, allocations: 0.6526 MB / 0.4892 GB, free: 18.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2802, allocations: 8.375 kB / 0.4892 GB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2802, allocations: 1.156 kB / 0.4892 GB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.2812, allocations: 242.5 kB / 0.4894 GB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.2814, allocations: 60.5 kB / 0.4895 GB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/0.2846, allocations: 2.692 MB / 0.4921 GB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.2848, allocations: 34.06 kB / 0.4921 GB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.2849, allocations: 11.58 kB / 0.4921 GB, free: 15.73 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.285, allocations: 147.6 kB / 0.4923 GB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.285, allocations: 23.33 kB / 0.4923 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.2863, allocations: 0.5882 MB / 0.4929 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2864, allocations: 7.391 kB / 0.4929 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2864, allocations: 1.125 kB / 0.4929 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2864, allocations: 8.047 kB / 0.4929 GB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.2879, allocations: 1.048 MB / 0.4939 GB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2879, allocations: 0 / 0.4939 GB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.288, allocations: 36.45 kB / 0.4939 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000866/0.2888, allocations: 245.4 kB / 0.4942 GB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.2889, allocations: 10.72 kB / 0.4942 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002922/0.2918, allocations: 2.657 MB / 0.4968 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.2918, allocations: 7.984 kB / 0.4968 GB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.293, allocations: 0.6481 MB / 0.4974 GB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.2931, allocations: 104.2 kB / 0.4975 GB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.2931, allocations: 6.125 kB / 0.4975 GB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.2933, allocations: 16.98 kB / 0.4976 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.2934, allocations: 23.31 kB / 0.4976 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.2934, allocations: 9.875 kB / 0.4976 GB, free: 11.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.2935, allocations: 163.2 kB / 0.4977 GB, free: 11.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2935, allocations: 0 / 0.4977 GB, free: 11.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005175/0.2941, allocations: 116.8 kB / 0.4978 GB, free: 11.27 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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001368/0.2954, allocations: 1.201 MB / 0.499 GB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.2966, allocations: 0.5721 MB / 0.4996 GB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2966, allocations: 1.656 kB / 0.4996 GB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006944/0.2973, allocations: 389.2 kB / 0.5 GB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.2977, allocations: 26.53 kB / 0.5 GB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.302, allocations: 3.348 MB / 0.5032 GB, free: 7.266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.3022, allocations: 0.7509 MB / 0.504 GB, free: 6.535 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.3023, allocations: 37.05 kB / 0.504 GB, free: 6.516 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.3024, allocations: 71.16 kB / 0.5041 GB, free: 6.457 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3024, allocations: 0 / 0.5041 GB, free: 6.457 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.3342, allocations: 9.113 MB / 0.513 GB, free: 14.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.66, allocations: 13.98 kB / 0.513 GB, free: 14.77 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.083693996071815] Failed to read output from testmodel.py, exit status != 0: 11.752834795042872 11.773011755 11.499432294 Calling exit ...