Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.001462/0.001462, allocations: 116.7 kB / 17.17 MB, free: 5.719 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.001516/0.001516, allocations: 196.5 kB / 20.12 MB, free: 2.809 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.396/1.396, 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.05189/0.05189, allocations: 8.229 MB / 311.6 MB, free: 2.062 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.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 59.89 kB / 433.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2658, allocations: 54.36 MB / 488.3 MB, free: 27.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001952/0.2677, allocations: 0.9431 MB / 489.2 MB, free: 26.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2688, allocations: 1.167 MB / 490.4 MB, free: 25.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.2689, allocations: 1.094 kB / 490.4 MB, free: 25.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.2691, allocations: 59.22 kB / 490.5 MB, free: 25.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.2692, allocations: 32.27 kB / 490.5 MB, free: 25.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.287e-05/0.2693, allocations: 32.53 kB / 490.5 MB, free: 25.67 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.2694, allocations: 49.61 kB / 490.6 MB, free: 25.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.2695, allocations: 23.88 kB / 490.6 MB, free: 25.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.915e-05/0.2695, allocations: 20.62 kB / 490.6 MB, free: 25.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.2696, allocations: 31.44 kB / 490.6 MB, free: 25.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.2696, allocations: 5.5 kB / 490.6 MB, free: 25.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.2697, allocations: 63.31 kB / 490.7 MB, free: 25.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.2697, allocations: 8.875 kB / 490.7 MB, free: 25.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.2698, allocations: 36.55 kB / 490.8 MB, free: 25.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.2699, allocations: 114.2 kB / 490.9 MB, free: 25.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.27, allocations: 4 kB / 490.9 MB, free: 25.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.27, allocations: 1.156 kB / 490.9 MB, free: 25.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.27, allocations: 3.938 kB / 490.9 MB, free: 25.45 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004889/0.2705, allocations: 382.6 kB / 491.2 MB, free: 25.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2705, allocations: 12.64 kB / 491.3 MB, free: 25.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.2705, allocations: 36.94 kB / 491.3 MB, free: 25.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.2705, allocations: 4.281 kB / 491.3 MB, free: 25.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.271e-05/0.2706, allocations: 186.5 kB / 491.5 MB, free: 24.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2706, allocations: 2.75 kB / 491.5 MB, free: 24.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.2707, allocations: 4.5 kB / 491.5 MB, free: 24.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.2708, allocations: 77.11 kB / 491.6 MB, free: 24.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2708, allocations: 3.938 kB / 491.6 MB, free: 24.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.2708, allocations: 1.125 kB / 491.6 MB, free: 24.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2708, allocations: 5.094 kB / 491.6 MB, free: 24.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.205e-05/0.2709, allocations: 42.92 kB / 491.6 MB, free: 24.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.2713, allocations: 347 kB / 492 MB, free: 24.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.694e-05/0.2713, allocations: 22.91 kB / 492 MB, free: 24.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.2713, allocations: 14.98 kB / 492 MB, free: 24.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.885e-05/0.2714, allocations: 80.61 kB / 492.1 MB, free: 24.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.2714, allocations: 35.75 kB / 492.1 MB, free: 24.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2714, allocations: 0 / 492.1 MB, free: 24.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001415/0.2716, allocations: 56.7 kB / 492.2 MB, free: 24.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.2716, allocations: 51.41 kB / 492.2 MB, free: 24.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.2717, allocations: 120 kB / 492.3 MB, free: 23.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.193e-06/0.2717, allocations: 25.7 kB / 492.4 MB, free: 23.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.2717, allocations: 109 kB / 492.5 MB, free: 23.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.223e-06/0.2717, allocations: 13.02 kB / 492.5 MB, free: 23.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.2718, allocations: 21.48 kB / 492.5 MB, free: 23.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.2718, allocations: 316.2 kB / 492.8 MB, free: 23.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.2718, allocations: 13.97 kB / 492.8 MB, free: 23.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.2718, allocations: 15.2 kB / 492.8 MB, free: 23.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.2719, allocations: 23.86 kB / 492.9 MB, free: 23.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2719, allocations: 0 / 492.9 MB, free: 23.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.361e-05/0.272, allocations: 67.75 kB / 492.9 MB, free: 23.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.272, allocations: 9.516 kB / 492.9 MB, free: 23.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.272, allocations: 0 / 492.9 MB, free: 23.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.272, allocations: 3.938 kB / 492.9 MB, free: 23.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.2721, allocations: 10.03 kB / 492.9 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2721, allocations: 2 kB / 492.9 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.2721, allocations: 11.94 kB / 493 MB, free: 23.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.2721, allocations: 1.812 kB / 493 MB, free: 23.35 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 (5): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.2722, allocations: 114 kB / 493.1 MB, free: 23.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.2722, allocations: 5.672 kB / 493.1 MB, free: 23.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.908e-05/0.2723, allocations: 42.89 kB / 493.1 MB, free: 23.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2723, allocations: 7.875 kB / 493.1 MB, free: 23.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2723, allocations: 0 / 493.1 MB, free: 23.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2723, allocations: 3.984 kB / 493.1 MB, free: 23.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.2724, allocations: 181 kB / 493.3 MB, free: 22.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2724, allocations: 5.5 kB / 493.3 MB, free: 22.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.2724, allocations: 5.531 kB / 493.3 MB, free: 22.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.2724, allocations: 1.562 kB / 493.3 MB, free: 22.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.2724, allocations: 0 / 493.3 MB, free: 22.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2724, allocations: 3.938 kB / 493.3 MB, free: 22.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2724, allocations: 1.406 kB / 493.3 MB, free: 22.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.682e-05/0.2725, allocations: 137.7 kB / 493.5 MB, free: 22.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.2725, allocations: 86.02 kB / 493.5 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.2725, allocations: 1.375 kB / 493.5 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.382e-05/0.2726, allocations: 3.938 kB / 493.5 MB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.2726, allocations: 1.219 kB / 493.5 MB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.2726, allocations: 4 kB / 493.5 MB, free: 22.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.39e-05/0.2726, allocations: 92.27 kB / 493.6 MB, free: 22.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2726, allocations: 1.219 kB / 493.6 MB, free: 22.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.2728, allocations: 14.53 kB / 493.7 MB, free: 22.61 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002366/0.2731, allocations: 0.6807 MB / 494.3 MB, free: 21.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.933e-05/0.2732, allocations: 25.89 kB / 494.4 MB, free: 21.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2732, allocations: 0 / 494.4 MB, free: 21.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.248e-05/0.2732, allocations: 11.59 kB / 494.4 MB, free: 21.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.2734, allocations: 5.281 kB / 494.4 MB, free: 21.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.2738, allocations: 179.9 kB / 494.6 MB, free: 21.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.2739, allocations: 0.6893 MB / 495.2 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.692e-05/0.2739, allocations: 1.812 kB / 495.2 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.2739, allocations: 21.23 kB / 495.3 MB, free: 21.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2739, allocations: 4.062 kB / 495.3 MB, free: 21.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.296, allocations: 1.619 MB / 496.9 MB, free: 20.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.795, allocations: 5.078 kB / 496.9 MB, free: 20.09 MB / 366.1 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.163678572047502] Failed to read output from testmodel.py, exit status != 0: 7.8611378450877964 7.879705782 7.606268897 Calling exit ...