Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.0013/0.0013, allocations: 116.8 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.001354/0.001354, 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.388/1.388, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.05673/0.05673, allocations: 8.228 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.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.88 kB / 434 MB, free: 11.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2654, allocations: 54.36 MB / 488.3 MB, free: 27.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001865/0.2672, allocations: 0.8736 MB / 489.2 MB, free: 26.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2685, allocations: 1.294 MB / 490.5 MB, free: 25.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.2686, allocations: 5.281 kB / 490.5 MB, free: 25.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.2688, allocations: 61.45 kB / 490.5 MB, free: 25.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.269, allocations: 46.81 kB / 490.6 MB, free: 25.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.2696, allocations: 355.8 kB / 490.9 MB, free: 25.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.722e-05/0.2697, allocations: 73.16 kB / 491 MB, free: 25.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.741e-05/0.2698, allocations: 23.72 kB / 491 MB, free: 25.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.031e-05/0.2698, allocations: 38.84 kB / 491.1 MB, free: 25.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.2699, allocations: 35.11 kB / 491.1 MB, free: 25.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2699, allocations: 4.875 kB / 491.1 MB, free: 25.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.2701, allocations: 103 kB / 491.2 MB, free: 25.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.2701, allocations: 18.14 kB / 491.2 MB, free: 25.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.2702, allocations: 38.23 kB / 491.3 MB, free: 25.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.2704, allocations: 154.7 kB / 491.4 MB, free: 25.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2704, allocations: 0 / 491.4 MB, free: 25.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2704, allocations: 1.062 kB / 491.4 MB, free: 25.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2704, allocations: 0 / 491.4 MB, free: 25.13 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007609/0.2712, allocations: 449.5 kB / 491.9 MB, free: 24.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2712, allocations: 13.39 kB / 491.9 MB, free: 24.69 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.2712, allocations: 36.84 kB / 491.9 MB, free: 24.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.2713, allocations: 13.09 kB / 491.9 MB, free: 24.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2714, allocations: 183.3 kB / 492.1 MB, free: 24.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.2714, allocations: 2.781 kB / 492.1 MB, free: 24.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.2714, allocations: 7.844 kB / 492.1 MB, free: 24.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.2716, allocations: 95.06 kB / 492.2 MB, free: 24.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2716, allocations: 3.938 kB / 492.2 MB, free: 24.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2716, allocations: 1.344 kB / 492.2 MB, free: 24.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2716, allocations: 1.344 kB / 492.2 MB, free: 24.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.2717, allocations: 74.53 kB / 492.3 MB, free: 24.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.2722, allocations: 388.1 kB / 492.7 MB, free: 23.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.2725, allocations: 102.2 kB / 492.8 MB, free: 23.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.2726, allocations: 31.5 kB / 492.8 MB, free: 23.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.2726, allocations: 2.812 kB / 492.8 MB, free: 23.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.2726, allocations: 32.22 kB / 492.8 MB, free: 23.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2726, allocations: 0 / 492.8 MB, free: 23.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005392/0.2731, allocations: 243.8 kB / 493.1 MB, free: 23.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.2732, allocations: 57.12 kB / 493.1 MB, free: 23.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.2733, allocations: 141.8 kB / 493.3 MB, free: 23.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.2733, allocations: 25.7 kB / 493.3 MB, free: 23.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.2734, allocations: 104 kB / 493.4 MB, free: 23.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.2734, allocations: 22.53 kB / 493.4 MB, free: 23.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.2734, allocations: 24.58 kB / 493.4 MB, free: 23.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.153e-05/0.2735, allocations: 321.6 kB / 493.7 MB, free: 22.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.2735, allocations: 35.11 kB / 493.8 MB, free: 22.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-05/0.2736, allocations: 35.05 kB / 493.8 MB, free: 22.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.2737, allocations: 73.84 kB / 493.9 MB, free: 22.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2737, allocations: 0 / 493.9 MB, free: 22.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002444/0.2739, allocations: 140 kB / 494 MB, free: 22.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2739, allocations: 9.438 kB / 494 MB, free: 22.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2739, allocations: 368 / 494 MB, free: 22.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/0.2742, allocations: 41.33 kB / 494.1 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.2742, allocations: 13.61 kB / 494.1 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008623/0.2751, allocations: 1.447 MB / 495.5 MB, free: 21.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.2752, allocations: 10.7 kB / 495.5 MB, free: 21.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2752, allocations: 1.375 kB / 495.5 MB, free: 21.21 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 (9): * Single equations (assignments): 8 * 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 6.835e-05/0.2752, allocations: 126.8 kB / 495.7 MB, free: 21.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.2753, allocations: 12.08 kB / 495.7 MB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.2755, allocations: 122.8 kB / 495.8 MB, free: 20.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2755, allocations: 0 / 495.8 MB, free: 20.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2755, allocations: 5.312 kB / 495.8 MB, free: 20.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2755, allocations: 0 / 495.8 MB, free: 20.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.2757, allocations: 208.8 kB / 496 MB, free: 20.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2757, allocations: 0 / 496 MB, free: 20.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.2757, allocations: 14.8 kB / 496 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.2759, allocations: 37.05 kB / 496.1 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2759, allocations: 8 kB / 496.1 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007351/0.2766, allocations: 1.433 MB / 497.5 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2766, allocations: 0 / 497.5 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.2768, allocations: 209.8 kB / 497.7 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.2769, allocations: 94.7 kB / 497.8 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2769, allocations: 1.312 kB / 497.8 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.277, allocations: 3.75 kB / 497.8 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.277, allocations: 10.89 kB / 497.8 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.277, allocations: 6.656 kB / 497.8 MB, free: 18.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.204e-05/0.2771, allocations: 104.9 kB / 497.9 MB, free: 18.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2771, allocations: 0 / 497.9 MB, free: 18.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000268/0.2774, allocations: 27.66 kB / 497.9 MB, free: 18.83 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 (6): * Single equations (assignments): 5 * 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.0004376/0.2778, allocations: 0.7569 MB / 498.7 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003349/0.2781, allocations: 196.2 kB / 498.9 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2781, allocations: 0 / 498.9 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.2783, allocations: 153.8 kB / 499 MB, free: 17.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.2786, allocations: 19.97 kB / 499.1 MB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.28, allocations: 1.6 MB / 0.4889 GB, free: 16.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.2801, allocations: 0.6956 MB / 0.4896 GB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.945e-05/0.2802, allocations: 12.86 kB / 0.4896 GB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.2802, allocations: 19.84 kB / 0.4896 GB, free: 15.65 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2802, allocations: 0 / 0.4896 GB, free: 15.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.3063, allocations: 2.882 MB / 0.4925 GB, free: 14.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.37/9.676, allocations: 12.08 kB / 0.4925 GB, free: 14.12 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.045850394293666] Failed to read output from testmodel.py, exit status != 0: 9.755532477982342 9.771558035 9.497919863 Calling exit ...