Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.00179/0.00179, allocations: 104.7 kB / 17.16 MB, free: 5.891 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.001388/0.001388, allocations: 200.6 kB / 20.12 MB, free: 2.945 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.379/1.379, allocations: 225.6 MB / 248.5 MB, free: 3.652 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.05435/0.05435, allocations: 8.23 MB / 311.6 MB, free: 2.105 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.OneSourceOneLoadwithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadwithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.89 kB / 434 MB, free: 11.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2459, allocations: 54.36 MB / 488.3 MB, free: 27.47 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002489/0.2484, allocations: 1.739 MB / 490.1 MB, free: 26.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2497, allocations: 1.353 MB / 491.4 MB, free: 25.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.2498, allocations: 5.281 kB / 491.4 MB, free: 25.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.25, allocations: 98.95 kB / 491.5 MB, free: 24.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.2503, allocations: 93.5 kB / 491.6 MB, free: 24.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007274/0.251, allocations: 461 kB / 492.1 MB, free: 24.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.2512, allocations: 220.3 kB / 492.3 MB, free: 24.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.2513, allocations: 83.75 kB / 492.4 MB, free: 24.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/0.2514, allocations: 101.4 kB / 492.5 MB, free: 24.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.2516, allocations: 145.7 kB / 492.6 MB, free: 24.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.2517, allocations: 20.75 kB / 492.6 MB, free: 24.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.2519, allocations: 128 kB / 492.7 MB, free: 24.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.2519, allocations: 45.36 kB / 492.8 MB, free: 24.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.252, allocations: 119.3 kB / 492.9 MB, free: 24.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.2523, allocations: 332.1 kB / 493.2 MB, free: 23.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2523, allocations: 0 / 493.2 MB, free: 23.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2523, allocations: 0 / 493.2 MB, free: 23.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.2524, allocations: 0 / 493.2 MB, free: 23.84 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001472/0.2538, allocations: 0.6662 MB / 493.9 MB, free: 23.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2539, allocations: 13.48 kB / 493.9 MB, free: 23.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.2539, allocations: 62.97 kB / 494 MB, free: 23.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.254, allocations: 29.17 kB / 494 MB, free: 23.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.2541, allocations: 215.6 kB / 494.2 MB, free: 22.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.2542, allocations: 14.56 kB / 494.2 MB, free: 22.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.2542, allocations: 22.12 kB / 494.2 MB, free: 22.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.2546, allocations: 290.1 kB / 494.5 MB, free: 22.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2546, allocations: 3.938 kB / 494.5 MB, free: 22.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.2546, allocations: 10.75 kB / 494.5 MB, free: 22.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2546, allocations: 5.5 kB / 494.5 MB, free: 22.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.2549, allocations: 244.6 kB / 494.8 MB, free: 22.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.256, allocations: 0.9712 MB / 495.8 MB, free: 21.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/0.2567, allocations: 354 kB / 496.1 MB, free: 21.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2568, allocations: 80.14 kB / 496.2 MB, free: 21.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.2569, allocations: 3.625 kB / 496.2 MB, free: 21.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.2569, allocations: 45.39 kB / 496.2 MB, free: 21.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.253e-06/0.2569, allocations: 0 / 496.2 MB, free: 21.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.001016/0.2579, allocations: 0.5213 MB / 496.7 MB, free: 21.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.2579, allocations: 79.2 kB / 496.8 MB, free: 20.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.2581, allocations: 190.4 kB / 497 MB, free: 20.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.2581, allocations: 30.92 kB / 497 MB, free: 20.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.2582, allocations: 159.3 kB / 497.2 MB, free: 20.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.2582, allocations: 75.05 kB / 497.3 MB, free: 20.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.2583, allocations: 48.33 kB / 497.3 MB, free: 20.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.2583, allocations: 329.8 kB / 497.6 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.2585, allocations: 94.47 kB / 497.7 MB, free: 20.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.2586, allocations: 124.9 kB / 497.9 MB, free: 20.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.2588, allocations: 221.6 kB / 498.1 MB, free: 19.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2588, allocations: 0 / 498.1 MB, free: 19.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005311/0.2594, allocations: 337.2 kB / 498.4 MB, free: 19.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2594, allocations: 6.375 kB / 498.4 MB, free: 19.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2594, allocations: 1.125 kB / 498.4 MB, free: 19.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000364/0.2597, allocations: 74.12 kB / 498.5 MB, free: 19.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.2599, allocations: 53.91 kB / 498.5 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.2615, allocations: 2.872 MB / 0.4896 GB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.2616, allocations: 25.06 kB / 0.4897 GB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.2616, allocations: 10.3 kB / 0.4897 GB, free: 16.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.336e-05/0.2617, allocations: 145.1 kB / 0.4898 GB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.2618, allocations: 16.84 kB / 0.4898 GB, free: 16.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005174/0.2623, allocations: 299.3 kB / 0.4901 GB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2623, allocations: 2.312 kB / 0.4901 GB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2623, allocations: 1.219 kB / 0.4901 GB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2623, allocations: 4 kB / 0.4901 GB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.2629, allocations: 0.5583 MB / 0.4907 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2629, allocations: 1.125 kB / 0.4907 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.263, allocations: 29.55 kB / 0.4907 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002561/0.2632, allocations: 74.53 kB / 0.4908 GB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2633, allocations: 5.156 kB / 0.4908 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.2647, allocations: 2.873 MB / 0.4936 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2647, allocations: 1.25 kB / 0.4936 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.2651, allocations: 427.5 kB / 0.494 GB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.2652, allocations: 101.5 kB / 0.4941 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.2652, allocations: 6.469 kB / 0.4941 GB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.2654, allocations: 20.11 kB / 0.4941 GB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.2654, allocations: 26.62 kB / 0.4941 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.2655, allocations: 6.281 kB / 0.4941 GB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.2656, allocations: 148.9 kB / 0.4943 GB, free: 12.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2656, allocations: 1.031 kB / 0.4943 GB, free: 12.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003977/0.266, allocations: 77.09 kB / 0.4944 GB, free: 12.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0006676/0.2666, allocations: 0.9736 MB / 0.4953 GB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006423/0.2673, allocations: 440.3 kB / 0.4957 GB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.2673, allocations: 0 / 0.4957 GB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.2676, allocations: 318.4 kB / 0.496 GB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.2681, allocations: 33.05 kB / 0.4961 GB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.2707, allocations: 2.515 MB / 0.4985 GB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.2708, allocations: 0.7387 MB / 0.4992 GB, free: 7.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.2709, allocations: 29.95 kB / 0.4993 GB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.271, allocations: 67 kB / 0.4993 GB, free: 7.848 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.271, allocations: 0 / 0.4993 GB, free: 7.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.3016, allocations: 5.305 MB / 0.5045 GB, free: 5.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.421/9.722, allocations: 10.06 kB / 0.5045 GB, free: 5.156 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.10667329793796] Failed to read output from testmodel.py, exit status != 0: 9.804979381151497 9.824798082000001 9.56846088 Calling exit ...