Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 215.3 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.614/1.614, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1896/0.1896, allocations: 38.55 MB / 352.5 MB, free: 12.43 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 63.91 kB / 492.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3509, allocations: 62.46 MB / 0.5419 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003099/0.354, allocations: 1.494 MB / 0.5434 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000909/0.3549, allocations: 486.6 kB / 0.5438 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.3549, allocations: 1.312 kB / 0.5438 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.3552, allocations: 28.81 kB / 0.5439 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.3555, allocations: 72.44 kB / 0.5439 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.3557, allocations: 76.59 kB / 0.544 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.3559, allocations: 73.75 kB / 0.5441 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.3559, allocations: 2.438 kB / 0.5441 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.3561, allocations: 33.33 kB / 0.5441 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.263e-05/0.3561, allocations: 28.16 kB / 0.5441 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.3562, allocations: 3.781 kB / 0.5441 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.3563, allocations: 97.41 kB / 0.5442 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.3564, allocations: 23.45 kB / 0.5443 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.3564, allocations: 19.8 kB / 0.5443 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.3567, allocations: 135.3 kB / 0.5444 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3567, allocations: 0 / 0.5444 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3567, allocations: 0.9375 kB / 0.5444 GB, free: 14.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3567, allocations: 0 / 0.5444 GB, free: 14.4 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005554/0.3573, allocations: 330.9 kB / 0.5447 GB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3573, allocations: 13.33 kB / 0.5447 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.3574, allocations: 32.41 kB / 0.5448 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.3574, allocations: 8.578 kB / 0.5448 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.3576, allocations: 144.6 kB / 0.5449 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.3577, allocations: 5.844 kB / 0.5449 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.3577, allocations: 5.344 kB / 0.5449 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.3578, allocations: 86.36 kB / 0.545 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3578, allocations: 0 / 0.545 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3579, allocations: 8.859 kB / 0.545 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3579, allocations: 1.469 kB / 0.545 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.271e-05/0.3579, allocations: 13.72 kB / 0.545 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.3583, allocations: 256.5 kB / 0.5453 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.3584, allocations: 38.41 kB / 0.5453 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.3585, allocations: 8.297 kB / 0.5453 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3585, allocations: 5.156 kB / 0.5453 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3585, allocations: 31.66 kB / 0.5454 GB, free: 13.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3585, allocations: 5.125 kB / 0.5454 GB, free: 13.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001925/0.3587, allocations: 62.19 kB / 0.5454 GB, free: 13.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.3588, allocations: 78.3 kB / 0.5455 GB, free: 13.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.359, allocations: 151.4 kB / 0.5456 GB, free: 13.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.359, allocations: 30.89 kB / 0.5457 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.3591, allocations: 99.27 kB / 0.5458 GB, free: 13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.3591, allocations: 10.52 kB / 0.5458 GB, free: 13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.3591, allocations: 16.81 kB / 0.5458 GB, free: 12.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3593, allocations: 329 kB / 0.5461 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.3593, allocations: 4.125 kB / 0.5461 GB, free: 12.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-05/0.3594, allocations: 52.89 kB / 0.5462 GB, free: 12.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.874e-05/0.3594, allocations: 18.48 kB / 0.5462 GB, free: 12.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3594, allocations: 0 / 0.5462 GB, free: 12.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.551e-05/0.3595, allocations: 51.39 kB / 0.5462 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3595, allocations: 5.5 kB / 0.5462 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3595, allocations: 0 / 0.5462 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3595, allocations: 1.375 kB / 0.5462 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.3596, allocations: 12.05 kB / 0.5462 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3596, allocations: 0 / 0.5462 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.3596, allocations: 9.344 kB / 0.5463 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3596, allocations: 5.375 kB / 0.5463 GB, free: 12.52 MB / 398.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 (3): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.403e-05/0.3597, allocations: 115.3 kB / 0.5464 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.3597, allocations: 6.703 kB / 0.5464 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.3599, allocations: 61.14 kB / 0.5464 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3599, allocations: 1.375 kB / 0.5464 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3599, allocations: 0 / 0.5464 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3599, allocations: 3.938 kB / 0.5464 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.3601, allocations: 142.5 kB / 0.5466 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3601, allocations: 0 / 0.5466 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.3601, allocations: 12.06 kB / 0.5466 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3601, allocations: 1.375 kB / 0.5466 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3601, allocations: 0 / 0.5466 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3601, allocations: 0 / 0.5466 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3601, allocations: 1.375 kB / 0.5466 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.3603, allocations: 151.9 kB / 0.5467 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.3603, allocations: 10.69 kB / 0.5467 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3603, allocations: 5.312 kB / 0.5467 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.3604, allocations: 0 / 0.5467 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.3604, allocations: 1.375 kB / 0.5467 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3604, allocations: 5.312 kB / 0.5468 GB, free: 11.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.3605, allocations: 129.4 kB / 0.5469 GB, free: 11.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3605, allocations: 0 / 0.5469 GB, free: 11.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.3608, allocations: 38.14 kB / 0.5469 GB, free: 11.88 MB / 398.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 (3): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00198/0.3628, allocations: 1.061 MB / 0.5479 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.3629, allocations: 22.59 kB / 0.548 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3629, allocations: 0 / 0.548 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.3629, allocations: 13.58 kB / 0.548 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3633, allocations: 20.47 kB / 0.548 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.3647, allocations: 1.367 MB / 0.5493 GB, free: 9.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.176e-05/0.3648, allocations: 73.61 kB / 0.5494 GB, free: 9.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.095e-05/0.3648, allocations: 20.06 kB / 0.5494 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.3649, allocations: 28.83 kB / 0.5495 GB, free: 9.633 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3649, allocations: 0 / 0.5495 GB, free: 9.633 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.3966, allocations: 3.625 MB / 0.553 GB, free: 7.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.52, allocations: 16.02 kB / 0.553 GB, free: 7.273 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.553332773968577] Failed to read output from testmodel.py, exit status != 0: 11.679599697701633 11.695827063 11.335944377 Calling exit ...