Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneTransfo.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.001787/0.001787, 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.00196/0.00196, 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.393/1.393, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.05246/0.05246, allocations: 8.225 MB / 311.6 MB, free: 2.141 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.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.89 kB / 433.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.255, allocations: 54.35 MB / 488.3 MB, free: 27.38 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002161/0.2572, allocations: 1.333 MB / 489.6 MB, free: 26.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2585, allocations: 1.405 MB / 491 MB, free: 25.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.2586, allocations: 6.719 kB / 491 MB, free: 25.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.2588, allocations: 105.4 kB / 491.1 MB, free: 25.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.259, allocations: 88.89 kB / 491.2 MB, free: 25.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.2602, allocations: 0.8867 MB / 492.1 MB, free: 24.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.2604, allocations: 135.1 kB / 492.2 MB, free: 24.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2606, allocations: 45.25 kB / 492.3 MB, free: 24.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.923e-05/0.2606, allocations: 61.31 kB / 492.3 MB, free: 24.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.792e-05/0.2607, allocations: 72.78 kB / 492.4 MB, free: 24.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.2607, allocations: 12.03 kB / 492.4 MB, free: 24.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.261, allocations: 208.4 kB / 492.6 MB, free: 24.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.261, allocations: 29.61 kB / 492.7 MB, free: 24.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.2611, allocations: 70.11 kB / 492.7 MB, free: 24.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.2615, allocations: 311.2 kB / 493 MB, free: 23.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2615, allocations: 4 kB / 493 MB, free: 23.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2615, allocations: 0 / 493 MB, free: 23.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2615, allocations: 1.375 kB / 493 MB, free: 23.87 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001666/0.2631, allocations: 0.668 MB / 493.7 MB, free: 23.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2632, allocations: 13.67 kB / 493.7 MB, free: 23.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.2632, allocations: 54.7 kB / 493.8 MB, free: 23.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.2633, allocations: 16.75 kB / 493.8 MB, free: 23.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.2634, allocations: 211.6 kB / 494 MB, free: 23.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2634, allocations: 10.06 kB / 494 MB, free: 23.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.2635, allocations: 17.05 kB / 494 MB, free: 23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.2637, allocations: 179.6 kB / 494.2 MB, free: 22.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2637, allocations: 5.094 kB / 494.2 MB, free: 22.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.2638, allocations: 9 kB / 494.2 MB, free: 22.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2638, allocations: 3.156 kB / 494.2 MB, free: 22.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.2639, allocations: 119.5 kB / 494.3 MB, free: 22.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007584/0.2647, allocations: 0.5314 MB / 494.9 MB, free: 22.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/0.2655, allocations: 152.3 kB / 495 MB, free: 22.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.798e-05/0.2656, allocations: 45.28 kB / 495.1 MB, free: 22.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.2657, allocations: 85.22 kB / 495.1 MB, free: 22.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.2657, allocations: 36.12 kB / 495.2 MB, free: 22.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.2657, allocations: 3.938 kB / 495.2 MB, free: 22.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001117/0.2668, allocations: 341.9 kB / 495.5 MB, free: 21.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.2668, allocations: 82.48 kB / 495.6 MB, free: 21.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.2669, allocations: 141.7 kB / 495.7 MB, free: 21.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.2669, allocations: 31.08 kB / 495.8 MB, free: 21.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.267, allocations: 132.4 kB / 495.9 MB, free: 21.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.267, allocations: 34.42 kB / 495.9 MB, free: 21.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/0.267, allocations: 34.08 kB / 496 MB, free: 21.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.086e-05/0.2671, allocations: 321.5 kB / 496.3 MB, free: 21.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.2672, allocations: 45.98 kB / 496.3 MB, free: 21.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.246e-05/0.2673, allocations: 78.8 kB / 496.4 MB, free: 20.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.2675, allocations: 128.8 kB / 496.5 MB, free: 20.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2675, allocations: 0 / 496.5 MB, free: 20.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005154/0.268, allocations: 223.4 kB / 496.7 MB, free: 20.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.268, allocations: 13.44 kB / 496.7 MB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.268, allocations: 3.984 kB / 496.8 MB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/0.2685, allocations: 80.59 kB / 496.8 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2686, allocations: 22.17 kB / 496.9 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.2698, allocations: 1.549 MB / 498.4 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.2699, allocations: 9.141 kB / 498.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.27, allocations: 11.64 kB / 498.4 MB, free: 19.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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 7.788e-05/0.27, allocations: 126.3 kB / 498.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.2701, allocations: 23.58 kB / 498.6 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005132/0.2706, allocations: 200.8 kB / 498.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.2706, allocations: 1.062 kB / 498.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2706, allocations: 1.062 kB / 498.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2706, allocations: 3.938 kB / 498.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.2708, allocations: 235.9 kB / 499 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2708, allocations: 5.25 kB / 499 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.053e-05/0.2708, allocations: 20.42 kB / 499 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004021/0.2712, allocations: 83.05 kB / 499.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.2713, allocations: 9.312 kB / 499.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.2724, allocations: 1.54 MB / 0.4889 GB, free: 17.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2724, allocations: 1.156 kB / 0.4889 GB, free: 17.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.2728, allocations: 279.7 kB / 0.4892 GB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.2729, allocations: 91.38 kB / 0.4893 GB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.2729, allocations: 1.312 kB / 0.4893 GB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.273, allocations: 4.438 kB / 0.4893 GB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.273, allocations: 12.14 kB / 0.4893 GB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2731, allocations: 2.281 kB / 0.4893 GB, free: 16.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.547e-05/0.2731, allocations: 104.9 kB / 0.4894 GB, free: 16.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2731, allocations: 5.281 kB / 0.4894 GB, free: 16.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.2734, allocations: 48.66 kB / 0.4894 GB, free: 16.62 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 (10): * Single equations (assignments): 9 * 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.0006706/0.2741, allocations: 0.8356 MB / 0.4903 GB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007041/0.2748, allocations: 252.8 kB / 0.4905 GB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2748, allocations: 0 / 0.4905 GB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/0.2752, allocations: 197.3 kB / 0.4907 GB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.2755, allocations: 14.56 kB / 0.4907 GB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.2775, allocations: 1.85 MB / 0.4925 GB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.2776, allocations: 0.7135 MB / 0.4932 GB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.891e-05/0.2777, allocations: 10.91 kB / 0.4932 GB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.2777, allocations: 42.14 kB / 0.4933 GB, free: 13.19 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2777, allocations: 0 / 0.4933 GB, free: 13.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.3039, allocations: 3.64 MB / 0.4968 GB, free: 11.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.42/9.723, allocations: 4.312 kB / 0.4968 GB, free: 11.29 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.123077519237995] Failed to read output from testmodel.py, exit status != 0: 9.800648814067245 9.811850915 9.548401619 Calling exit ...