Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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.001305/0.001305, allocations: 108.4 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.001338/0.001338, allocations: 197.4 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.412/1.412, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.05332/0.05332, allocations: 8.226 MB / 311.6 MB, free: 2.051 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.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00277/0.00277, allocations: 63.89 kB / 433.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2924, allocations: 54.36 MB / 488.3 MB, free: 27.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.002057/0.2945, allocations: 1.002 MB / 489.3 MB, free: 26.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2957, allocations: 1.102 MB / 490.4 MB, free: 25.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.2958, allocations: 1.188 kB / 490.4 MB, free: 25.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.296, allocations: 62.52 kB / 490.4 MB, free: 25.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.2962, allocations: 37.66 kB / 490.5 MB, free: 25.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.2968, allocations: 339.7 kB / 490.8 MB, free: 25.53 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.2969, allocations: 69.59 kB / 490.9 MB, free: 25.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.297, allocations: 24.66 kB / 490.9 MB, free: 25.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.297, allocations: 42 kB / 490.9 MB, free: 25.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2972, allocations: 45.84 kB / 491 MB, free: 25.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2972, allocations: 6.312 kB / 491 MB, free: 25.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.2974, allocations: 78.69 kB / 491.1 MB, free: 25.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.2974, allocations: 21.5 kB / 491.1 MB, free: 25.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.2974, allocations: 35.16 kB / 491.1 MB, free: 25.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.2977, allocations: 140.4 kB / 491.3 MB, free: 25.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2977, allocations: 0 / 491.3 MB, free: 25.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2977, allocations: 0 / 491.3 MB, free: 25.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2977, allocations: 0 / 491.3 MB, free: 25.25 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.0007074/0.2984, allocations: 433.2 kB / 491.7 MB, free: 24.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2984, allocations: 13.95 kB / 491.7 MB, free: 24.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.2985, allocations: 36.91 kB / 491.7 MB, free: 24.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.2985, allocations: 9.328 kB / 491.8 MB, free: 24.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.2986, allocations: 183 kB / 491.9 MB, free: 24.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2987, allocations: 6.438 kB / 491.9 MB, free: 24.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.2987, allocations: 8.844 kB / 491.9 MB, free: 24.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.2988, allocations: 83.41 kB / 492 MB, free: 24.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2988, allocations: 9.25 kB / 492 MB, free: 24.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2988, allocations: 0 / 492 MB, free: 24.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2989, allocations: 10.77 kB / 492 MB, free: 24.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.726e-05/0.2989, allocations: 52.52 kB / 492.1 MB, free: 24.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.2994, allocations: 367.1 kB / 492.5 MB, free: 24.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.2996, allocations: 70.39 kB / 492.5 MB, free: 24.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.2997, allocations: 18.95 kB / 492.5 MB, free: 24.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.2998, allocations: 85 kB / 492.6 MB, free: 23.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.2998, allocations: 32.28 kB / 492.7 MB, free: 23.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.2998, allocations: 0 / 492.7 MB, free: 23.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005181/0.3003, allocations: 192.7 kB / 492.8 MB, free: 23.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.3003, allocations: 61 kB / 492.9 MB, free: 23.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3005, allocations: 125.4 kB / 493 MB, free: 23.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.3005, allocations: 25.7 kB / 493.1 MB, free: 23.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.3005, allocations: 104.5 kB / 493.2 MB, free: 23.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.3005, allocations: 14.44 kB / 493.2 MB, free: 23.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.3006, allocations: 13.94 kB / 493.2 MB, free: 23.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.473e-05/0.3006, allocations: 320.2 kB / 493.5 MB, free: 23.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.3006, allocations: 13.66 kB / 493.5 MB, free: 23.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.177e-05/0.3007, allocations: 13.47 kB / 493.5 MB, free: 23.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.824e-05/0.3007, allocations: 30.3 kB / 493.5 MB, free: 23.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3007, allocations: 1.656 kB / 493.6 MB, free: 23.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001721/0.3009, allocations: 88.36 kB / 493.6 MB, free: 22.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3009, allocations: 5.5 kB / 493.6 MB, free: 22.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3009, allocations: 0 / 493.6 MB, free: 22.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.3011, allocations: 21.56 kB / 493.7 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.585e-05/0.3012, allocations: 17.33 kB / 493.7 MB, free: 22.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008617/0.302, allocations: 1.38 MB / 495.1 MB, free: 21.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.3021, allocations: 5.359 kB / 495.1 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3021, allocations: 5.375 kB / 495.1 MB, free: 21.47 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 (4): * Single equations (assignments): 3 * 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.911e-05/0.3022, allocations: 118.8 kB / 495.2 MB, free: 21.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.3022, allocations: 6.703 kB / 495.2 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.3024, allocations: 107.3 kB / 495.3 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3024, allocations: 1.375 kB / 495.3 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3024, allocations: 1.375 kB / 495.3 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3024, allocations: 3.984 kB / 495.3 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.3026, allocations: 180.8 kB / 495.5 MB, free: 21.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.3026, allocations: 1.375 kB / 495.5 MB, free: 21.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.3026, allocations: 13.42 kB / 495.5 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/0.3027, allocations: 25.22 kB / 495.5 MB, free: 21.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3028, allocations: 9.312 kB / 495.5 MB, free: 21.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007822/0.3035, allocations: 1.374 MB / 496.9 MB, free: 19.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3035, allocations: 1.375 kB / 496.9 MB, free: 19.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3038, allocations: 186.6 kB / 497.1 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.3039, allocations: 87.75 kB / 497.2 MB, free: 19.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.3039, allocations: 96 / 497.2 MB, free: 19.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.304, allocations: 12.5 kB / 497.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.304, allocations: 6.734 kB / 497.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.304, allocations: 10.62 kB / 497.2 MB, free: 19.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.208e-05/0.3041, allocations: 96.83 kB / 497.3 MB, free: 19.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3041, allocations: 1.375 kB / 497.3 MB, free: 19.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000285/0.3044, allocations: 20.5 kB / 497.3 MB, free: 19.2 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 (5): * Single equations (assignments): 4 * 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.000523/0.3049, allocations: 0.7278 MB / 498 MB, free: 18.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003678/0.3052, allocations: 152.9 kB / 498.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3052, allocations: 4 kB / 498.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.3054, allocations: 138 kB / 498.3 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.3057, allocations: 11.62 kB / 498.3 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3071, allocations: 1.427 MB / 499.8 MB, free: 16.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.3073, allocations: 0.6978 MB / 0.4887 GB, free: 16.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.064e-05/0.3073, allocations: 12.39 kB / 0.4888 GB, free: 16.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.3074, allocations: 22.69 kB / 0.4888 GB, free: 16.15 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3074, allocations: 0 / 0.4888 GB, free: 16.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.3353, allocations: 2.505 MB / 0.4912 GB, free: 14.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.361/9.696, allocations: 13.02 kB / 0.4912 GB, free: 14.8 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.14262678194791] Failed to read output from testmodel.py, exit status != 0: 9.77370388386771 9.784517143 9.484375437 Calling exit ...