Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.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.001235/0.001235, allocations: 118.4 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.001308/0.001308, 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.407/1.407, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.05128/0.05128, allocations: 8.228 MB / 311.6 MB, free: 2.09 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.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.89 kB / 433.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2705, allocations: 54.36 MB / 488.3 MB, free: 27.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002157/0.2726, allocations: 1.324 MB / 489.6 MB, free: 26.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.274, allocations: 1.41 MB / 491 MB, free: 25.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.2741, allocations: 1.781 kB / 491 MB, free: 25.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.2744, allocations: 115.3 kB / 491.1 MB, free: 25.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.2746, allocations: 78.56 kB / 491.2 MB, free: 25.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.2758, allocations: 0.8869 MB / 492.1 MB, free: 24.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.276, allocations: 140.1 kB / 492.2 MB, free: 24.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.2762, allocations: 42.47 kB / 492.3 MB, free: 24.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.2762, allocations: 60.02 kB / 492.3 MB, free: 24.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.165e-05/0.2763, allocations: 67.77 kB / 492.4 MB, free: 24.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.2763, allocations: 13.03 kB / 492.4 MB, free: 24.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.2766, allocations: 213.1 kB / 492.6 MB, free: 24.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.2767, allocations: 33.64 kB / 492.7 MB, free: 24.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.2767, allocations: 64.45 kB / 492.7 MB, free: 24.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.2771, allocations: 319.7 kB / 493 MB, free: 23.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2771, allocations: 0 / 493 MB, free: 23.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2771, allocations: 1.312 kB / 493 MB, free: 23.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2771, allocations: 0 / 493 MB, free: 23.98 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.001674/0.2788, allocations: 0.6697 MB / 493.7 MB, free: 23.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2788, allocations: 16.09 kB / 493.7 MB, free: 23.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.2789, allocations: 42.88 kB / 493.8 MB, free: 23.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.2789, allocations: 17.09 kB / 493.8 MB, free: 23.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.2791, allocations: 223 kB / 494 MB, free: 23.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2791, allocations: 9.875 kB / 494 MB, free: 23.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.2791, allocations: 14 kB / 494 MB, free: 23.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.2794, allocations: 176.4 kB / 494.2 MB, free: 23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2794, allocations: 3.938 kB / 494.2 MB, free: 22.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.2794, allocations: 9.375 kB / 494.2 MB, free: 22.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.2794, allocations: 2.75 kB / 494.2 MB, free: 22.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.2796, allocations: 114.9 kB / 494.3 MB, free: 22.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007481/0.2803, allocations: 0.5282 MB / 494.9 MB, free: 22.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008082/0.2811, allocations: 163.9 kB / 495 MB, free: 22.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/0.2812, allocations: 41.56 kB / 495.1 MB, free: 22.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.2813, allocations: 92.86 kB / 495.1 MB, free: 22.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.2813, allocations: 31.91 kB / 495.2 MB, free: 22.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.2813, allocations: 1.25 kB / 495.2 MB, free: 22.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001147/0.2825, allocations: 345.1 kB / 495.5 MB, free: 21.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.2825, allocations: 79.05 kB / 495.6 MB, free: 21.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.6e-05/0.2826, allocations: 146.3 kB / 495.7 MB, free: 21.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.2826, allocations: 25.7 kB / 495.8 MB, free: 21.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.2827, allocations: 131.7 kB / 495.9 MB, free: 21.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.2827, allocations: 32.75 kB / 495.9 MB, free: 21.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.2827, allocations: 32.36 kB / 496 MB, free: 21.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.193e-05/0.2828, allocations: 329.2 kB / 496.3 MB, free: 21.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.034e-05/0.2829, allocations: 47.08 kB / 496.3 MB, free: 21.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/0.283, allocations: 79.17 kB / 496.4 MB, free: 21.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.2831, allocations: 127.2 kB / 496.5 MB, free: 21.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2831, allocations: 0.8438 kB / 496.5 MB, free: 21.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005103/0.2837, allocations: 230.3 kB / 496.7 MB, free: 20.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2837, allocations: 6.312 kB / 496.8 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2837, allocations: 0 / 496.8 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004846/0.2842, allocations: 88.05 kB / 496.8 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.2843, allocations: 26.14 kB / 496.9 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.2855, allocations: 1.538 MB / 498.4 MB, free: 19.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2856, allocations: 13.95 kB / 498.4 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2856, allocations: 8.094 kB / 498.4 MB, free: 19.3 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.812e-05/0.2857, allocations: 125.3 kB / 498.5 MB, free: 19.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.2857, allocations: 19.84 kB / 498.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005084/0.2862, allocations: 204.7 kB / 498.8 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2863, allocations: 1.438 kB / 498.8 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.2863, allocations: 0 / 498.8 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2863, allocations: 9.453 kB / 498.8 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.2864, allocations: 235.7 kB / 499 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2864, allocations: 0 / 499 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.857e-05/0.2865, allocations: 20.23 kB / 499 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003985/0.2869, allocations: 92.11 kB / 499.1 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.2869, allocations: 5.438 kB / 499.1 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.2881, allocations: 1.536 MB / 0.4889 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2881, allocations: 1.094 kB / 0.4889 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.2886, allocations: 276.3 kB / 0.4892 GB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.2886, allocations: 91.53 kB / 0.4893 GB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.2887, allocations: 5.297 kB / 0.4893 GB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.2888, allocations: 8.688 kB / 0.4893 GB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.2888, allocations: 7.891 kB / 0.4893 GB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2888, allocations: 2.594 kB / 0.4893 GB, free: 16.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.414e-05/0.2889, allocations: 104.2 kB / 0.4894 GB, free: 16.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2889, allocations: 1.25 kB / 0.4894 GB, free: 16.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003271/0.2892, allocations: 44.08 kB / 0.4894 GB, free: 16.75 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.0007266/0.2899, allocations: 0.8394 MB / 0.4903 GB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007607/0.2907, allocations: 256.7 kB / 0.4905 GB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2907, allocations: 1.156 kB / 0.4905 GB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.2912, allocations: 197 kB / 0.4907 GB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.2914, allocations: 13.2 kB / 0.4907 GB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.2936, allocations: 1.852 MB / 0.4925 GB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.2937, allocations: 0.7106 MB / 0.4932 GB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.988e-05/0.2937, allocations: 14.62 kB / 0.4932 GB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.2938, allocations: 41.14 kB / 0.4933 GB, free: 13.31 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2938, allocations: 0 / 0.4933 GB, free: 13.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.3212, allocations: 3.654 MB / 0.4968 GB, free: 11.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.321/9.642, allocations: 7.469 kB / 0.4968 GB, free: 11.4 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneperfectTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneperfectTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.060231760144234] Failed to read output from testmodel.py, exit status != 0: 9.717924417927861 9.727765352 9.448762241 Calling exit ...