Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.001797/0.001797, allocations: 108.9 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.001605/0.001605, 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.44/1.44, allocations: 225.6 MB / 248.5 MB, free: 3.648 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.07576/0.07576, allocations: 8.229 MB / 311.6 MB, free: 2.043 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.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 71.88 kB / 433.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2891, allocations: 54.35 MB / 488.3 MB, free: 27.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002269/0.2913, allocations: 1.288 MB / 489.6 MB, free: 26.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2926, allocations: 1.246 MB / 490.8 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.2927, allocations: 3.094 kB / 490.8 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.293, allocations: 112.6 kB / 490.9 MB, free: 25.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.2932, allocations: 61.67 kB / 491 MB, free: 25.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2942, allocations: 0.7407 MB / 491.7 MB, free: 24.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.2944, allocations: 136 kB / 491.9 MB, free: 24.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.2946, allocations: 46.36 kB / 491.9 MB, free: 24.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.2946, allocations: 58.81 kB / 492 MB, free: 24.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.2947, allocations: 64.39 kB / 492 MB, free: 24.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.2947, allocations: 12.59 kB / 492 MB, free: 24.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.295, allocations: 141 kB / 492.2 MB, free: 24.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.295, allocations: 36.41 kB / 492.2 MB, free: 24.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.295, allocations: 64.98 kB / 492.3 MB, free: 24.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.2953, allocations: 265 kB / 492.5 MB, free: 24.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2954, allocations: 1.781 kB / 492.5 MB, free: 24.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2954, allocations: 0 / 492.5 MB, free: 24.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.2954, allocations: 0 / 492.5 MB, free: 24.33 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.001139/0.2965, allocations: 0.5663 MB / 493.1 MB, free: 23.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.2965, allocations: 17.47 kB / 493.1 MB, free: 23.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.2966, allocations: 41.5 kB / 493.2 MB, free: 23.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.2966, allocations: 13.14 kB / 493.2 MB, free: 23.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.2968, allocations: 205.8 kB / 493.4 MB, free: 23.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.2968, allocations: 9.875 kB / 493.4 MB, free: 23.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.2968, allocations: 16.56 kB / 493.4 MB, free: 23.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.2971, allocations: 155.8 kB / 493.6 MB, free: 23.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.2971, allocations: 3.938 kB / 493.6 MB, free: 23.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.2971, allocations: 9.312 kB / 493.6 MB, free: 23.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2971, allocations: 2.75 kB / 493.6 MB, free: 23.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.2973, allocations: 112.3 kB / 493.7 MB, free: 23.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.2979, allocations: 0.5211 MB / 494.2 MB, free: 22.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007989/0.2987, allocations: 146.6 kB / 494.3 MB, free: 22.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.2988, allocations: 41.62 kB / 494.4 MB, free: 22.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.2989, allocations: 85.23 kB / 494.5 MB, free: 22.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.2989, allocations: 31.78 kB / 494.5 MB, free: 22.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.2989, allocations: 0 / 494.5 MB, free: 22.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001077/0.3, allocations: 353.9 kB / 494.8 MB, free: 22.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.3, allocations: 56.81 kB / 494.9 MB, free: 22.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.3001, allocations: 129.7 kB / 495 MB, free: 22.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3001, allocations: 27.2 kB / 495.1 MB, free: 22.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.3002, allocations: 126.9 kB / 495.2 MB, free: 22.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.3002, allocations: 35.34 kB / 495.2 MB, free: 22.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.3002, allocations: 34.8 kB / 495.2 MB, free: 21.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.712e-05/0.3003, allocations: 317.7 kB / 495.6 MB, free: 21.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.3003, allocations: 39.2 kB / 495.6 MB, free: 21.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/0.3004, allocations: 57.27 kB / 495.7 MB, free: 21.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.3006, allocations: 111.4 kB / 495.8 MB, free: 21.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3006, allocations: 0 / 495.8 MB, free: 21.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004273/0.301, allocations: 210.9 kB / 496 MB, free: 21.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.301, allocations: 5.469 kB / 496 MB, free: 21.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.301, allocations: 0 / 496 MB, free: 21.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003922/0.3014, allocations: 77.11 kB / 496 MB, free: 21.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.3015, allocations: 16.38 kB / 496.1 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.3027, allocations: 1.653 MB / 497.7 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.3028, allocations: 5.375 kB / 497.7 MB, free: 19.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.3028, allocations: 5.094 kB / 497.7 MB, free: 19.75 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 (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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.665e-05/0.3029, allocations: 128.2 kB / 497.9 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3029, allocations: 12.27 kB / 497.9 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.3034, allocations: 204.2 kB / 498.1 MB, free: 19.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3034, allocations: 5.094 kB / 498.1 MB, free: 19.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3034, allocations: 1.188 kB / 498.1 MB, free: 19.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3034, allocations: 0 / 498.1 MB, free: 19.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.3036, allocations: 229.1 kB / 498.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3036, allocations: 1.125 kB / 498.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.3036, allocations: 13.94 kB / 498.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003179/0.304, allocations: 74.39 kB / 498.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.304, allocations: 1.375 kB / 498.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.3051, allocations: 1.649 MB / 0.4883 GB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3051, allocations: 0 / 0.4883 GB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.3056, allocations: 275.4 kB / 0.4886 GB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.3056, allocations: 96.2 kB / 0.4887 GB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.3056, allocations: 1.156 kB / 0.4887 GB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.3057, allocations: 1.094 kB / 0.4887 GB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.3057, allocations: 12.42 kB / 0.4887 GB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3057, allocations: 2.312 kB / 0.4887 GB, free: 17.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.376e-05/0.3058, allocations: 95.33 kB / 0.4888 GB, free: 17.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3058, allocations: 0 / 0.4888 GB, free: 17.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.3061, allocations: 53.34 kB / 0.4888 GB, free: 17.15 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 (8): * Single equations (assignments): 7 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000622/0.3067, allocations: 0.8313 MB / 0.4896 GB, free: 16.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006256/0.3073, allocations: 245.2 kB / 0.4899 GB, free: 16.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3073, allocations: 5.25 kB / 0.4899 GB, free: 16.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.3077, allocations: 196.1 kB / 0.4901 GB, free: 16.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.3079, allocations: 9.75 kB / 0.4901 GB, free: 16.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.3098, allocations: 1.782 MB / 0.4918 GB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.3099, allocations: 0.7137 MB / 0.4925 GB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.798e-05/0.31, allocations: 5.797 kB / 0.4925 GB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.31, allocations: 39.95 kB / 0.4926 GB, free: 13.73 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.31, allocations: 3.938 kB / 0.4926 GB, free: 13.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.3381, allocations: 3.572 MB / 0.496 GB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.407/9.745, allocations: 13.72 kB / 0.4961 GB, free: 11.86 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OnePerfectLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.274233797099441] Failed to read output from testmodel.py, exit status != 0: 9.826239091809839 9.844805717 9.546248581 Calling exit ...