Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.001263/0.001263, allocations: 118.6 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.001248/0.001248, allocations: 195.7 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.43/1.43, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.05428/0.05428, allocations: 8.235 MB / 311.6 MB, free: 2.082 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.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.88 kB / 433.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2782, allocations: 54.36 MB / 488.3 MB, free: 27.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002189/0.2804, allocations: 1.28 MB / 489.6 MB, free: 26.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2816, allocations: 1.252 MB / 490.8 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.2817, allocations: 3.344 kB / 490.8 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.282, allocations: 113 kB / 490.9 MB, free: 25.42 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.2822, allocations: 48.66 kB / 491 MB, free: 25.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2832, allocations: 0.7489 MB / 491.7 MB, free: 24.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.2834, allocations: 140.4 kB / 491.9 MB, free: 24.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.2835, allocations: 41.56 kB / 491.9 MB, free: 24.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.2836, allocations: 54.31 kB / 492 MB, free: 24.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.2836, allocations: 69.06 kB / 492 MB, free: 24.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.2837, allocations: 11.22 kB / 492 MB, free: 24.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.2839, allocations: 146 kB / 492.2 MB, free: 24.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.2839, allocations: 32 kB / 492.2 MB, free: 24.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.284, allocations: 64.52 kB / 492.3 MB, free: 24.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.2843, allocations: 265.9 kB / 492.5 MB, free: 24.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2843, allocations: 1.156 kB / 492.5 MB, free: 24.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2843, allocations: 0 / 492.5 MB, free: 24.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2843, 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.001118/0.2854, allocations: 0.5687 MB / 493.1 MB, free: 23.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2855, allocations: 13.39 kB / 493.1 MB, free: 23.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.2855, allocations: 46.77 kB / 493.2 MB, free: 23.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.2855, allocations: 12.36 kB / 493.2 MB, free: 23.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2857, allocations: 204.6 kB / 493.4 MB, free: 23.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2857, allocations: 9.656 kB / 493.4 MB, free: 23.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.2857, allocations: 13.12 kB / 493.4 MB, free: 23.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.2859, allocations: 149 kB / 493.5 MB, free: 23.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.286, allocations: 11.92 kB / 493.6 MB, free: 23.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.286, allocations: 5.344 kB / 493.6 MB, free: 23.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.286, allocations: 3.281 kB / 493.6 MB, free: 23.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.2861, allocations: 110.3 kB / 493.7 MB, free: 23.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006254/0.2868, allocations: 0.5184 MB / 494.2 MB, free: 22.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008078/0.2876, allocations: 158.2 kB / 494.3 MB, free: 22.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.2877, allocations: 37.3 kB / 494.4 MB, free: 22.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.2878, allocations: 85.22 kB / 494.5 MB, free: 22.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.2878, allocations: 35.94 kB / 494.5 MB, free: 22.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.2878, allocations: 192 / 494.5 MB, free: 22.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001092/0.2889, allocations: 349.7 kB / 494.8 MB, free: 22.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.2889, allocations: 56.72 kB / 494.9 MB, free: 22.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.289, allocations: 131 kB / 495 MB, free: 22.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.289, allocations: 27.08 kB / 495.1 MB, free: 22.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.2891, allocations: 131.1 kB / 495.2 MB, free: 22.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.2891, allocations: 30.48 kB / 495.2 MB, free: 22.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.2891, allocations: 31.33 kB / 495.2 MB, free: 22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.2892, allocations: 325.6 kB / 495.6 MB, free: 21.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.2892, allocations: 39.23 kB / 495.6 MB, free: 21.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.902e-05/0.2893, allocations: 61.02 kB / 495.7 MB, free: 21.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.2895, allocations: 95 kB / 495.8 MB, free: 21.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2895, allocations: 0 / 495.8 MB, free: 21.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000455/0.2899, allocations: 215.8 kB / 496 MB, free: 21.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.29, allocations: 7.625 kB / 496 MB, free: 21.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.29, allocations: 0 / 496 MB, free: 21.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/0.2904, allocations: 81.77 kB / 496.1 MB, free: 21.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/0.2904, allocations: 19.83 kB / 496.1 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.2919, allocations: 1.649 MB / 497.7 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.292, allocations: 6.719 kB / 497.7 MB, free: 19.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.292, allocations: 2.812 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 8.412e-05/0.2921, allocations: 120.3 kB / 497.8 MB, free: 19.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.2921, allocations: 12.48 kB / 497.9 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.2926, allocations: 212.5 kB / 498.1 MB, free: 19.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2926, allocations: 1.344 kB / 498.1 MB, free: 19.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.2926, allocations: 384 / 498.1 MB, free: 19.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2926, allocations: 1.156 kB / 498.1 MB, free: 19.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.2927, allocations: 221.4 kB / 498.3 MB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2927, allocations: 5.109 kB / 498.3 MB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.2928, allocations: 21.69 kB / 498.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003192/0.2931, allocations: 78.64 kB / 498.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2931, allocations: 1.062 kB / 498.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.2943, allocations: 1.642 MB / 0.4883 GB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2943, allocations: 0 / 0.4883 GB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.2947, allocations: 279.1 kB / 0.4886 GB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.2947, allocations: 87.48 kB / 0.4887 GB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.2947, allocations: 9.312 kB / 0.4887 GB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.2948, allocations: 1.375 kB / 0.4887 GB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.2949, allocations: 12.14 kB / 0.4887 GB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.2949, allocations: 2.562 kB / 0.4887 GB, free: 17.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.135e-05/0.2949, allocations: 95.39 kB / 0.4888 GB, free: 17.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2949, allocations: 0 / 0.4888 GB, free: 17.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.2952, allocations: 49.03 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.0006565/0.2959, allocations: 0.8317 MB / 0.4896 GB, free: 16.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000584/0.2965, allocations: 248.9 kB / 0.4899 GB, free: 16.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2965, allocations: 0 / 0.4899 GB, free: 16.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.2968, allocations: 197.8 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.0002226/0.297, allocations: 6.688 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.001814/0.2988, allocations: 1.788 MB / 0.4918 GB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.2989, allocations: 0.7097 MB / 0.4925 GB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.822e-05/0.299, allocations: 10.34 kB / 0.4925 GB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.299, allocations: 39.89 kB / 0.4926 GB, free: 13.74 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.299, allocations: 0 / 0.4926 GB, free: 13.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.326, allocations: 3.572 MB / 0.496 GB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.414/9.74, allocations: 9.312 kB / 0.4961 GB, free: 11.87 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.187818573322147] Failed to read output from testmodel.py, exit status != 0: 9.822284405119717 9.84296746 9.5556773 Calling exit ...