Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.001257/0.001257, allocations: 80.53 kB / 19.96 MB, free: 4.598 MB / 18.57 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.001605/0.001605, allocations: 174.3 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9433/0.9433, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03046/0.03046, allocations: 4.463 MB / 264.5 MB, free: 8.766 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.251e-05, allocations: 3.406 kB / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002173/0.002195, allocations: 1.179 MB / 390.8 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.003885, allocations: 1.263 MB / 392 MB, free: 4.949 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.246e-05/0.003967, allocations: 4 kB / 392.1 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.004273, allocations: 75.5 kB / 392.1 MB, free: 4.871 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.004456, allocations: 51.62 kB / 392.2 MB, free: 4.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.005051, allocations: 314.6 kB / 392.5 MB, free: 4.512 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.005211, allocations: 135.3 kB / 392.6 MB, free: 4.379 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.005355, allocations: 41.97 kB / 392.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.005479, allocations: 79.81 kB / 392.7 MB, free: 4.254 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.005627, allocations: 51.86 kB / 392.8 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.005651, allocations: 12 kB / 392.8 MB, free: 4.191 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.005849, allocations: 107.8 kB / 392.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.005874, allocations: 27.91 kB / 392.9 MB, free: 4.059 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.005923, allocations: 39.92 kB / 393 MB, free: 4.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.006235, allocations: 231.2 kB / 393.2 MB, free: 3.793 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.006237, allocations: 0 / 393.2 MB, free: 3.793 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006238, allocations: 0 / 393.2 MB, free: 3.793 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.006242, allocations: 0 / 393.2 MB, free: 3.793 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008355/0.007078, allocations: 409.5 kB / 393.6 MB, free: 3.359 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.007126, allocations: 12.02 kB / 393.6 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.007246, allocations: 42.75 kB / 393.6 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.007285, allocations: 12.89 kB / 393.7 MB, free: 3.285 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.007429, allocations: 133.5 kB / 393.8 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.007447, allocations: 8.375 kB / 393.8 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.007468, allocations: 12.38 kB / 393.8 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.00772, allocations: 193.6 kB / 394 MB, free: 2.902 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.007731, allocations: 4.188 kB / 394 MB, free: 2.898 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.007747, allocations: 8.312 kB / 394 MB, free: 2.891 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.007756, allocations: 8.125 kB / 394 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.007906, allocations: 99.91 kB / 394.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000844/0.00875, allocations: 427.5 kB / 394.5 MB, free: 2.324 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.009048, allocations: 110.6 kB / 394.6 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.009087, allocations: 24.95 kB / 394.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.954e-05/0.009177, allocations: 4 kB / 394.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.009204, allocations: 42.53 kB / 394.7 MB, free: 2.125 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.434e-06/0.009206, allocations: 4 kB / 394.7 MB, free: 2.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004326/0.009639, allocations: 142.4 kB / 394.9 MB, free: 1.973 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.009676, allocations: 55.39 kB / 394.9 MB, free: 1.906 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.0098, allocations: 137.8 kB / 395 MB, free: 1.762 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.009816, allocations: 25.7 kB / 395.1 MB, free: 1.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.009888, allocations: 123.8 kB / 395.2 MB, free: 1.605 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.009903, allocations: 19.86 kB / 395.2 MB, free: 1.586 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.009948, allocations: 29.7 kB / 395.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.01005, allocations: 326.8 kB / 395.6 MB, free: 1.223 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.281e-05/0.0101, allocations: 27.98 kB / 395.6 MB, free: 1.195 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.01013, allocations: 24 kB / 395.6 MB, free: 1.172 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.353e-05/0.01022, allocations: 72.78 kB / 395.7 MB, free: 1.098 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.01023, allocations: 0 / 395.7 MB, free: 1.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002136/0.01044, allocations: 134.6 kB / 395.8 MB, free: 0.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.01046, allocations: 6.812 kB / 395.8 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.01047, allocations: 96 / 395.8 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.01069, allocations: 40.77 kB / 395.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.01074, allocations: 15.98 kB / 395.9 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.01179, allocations: 1.306 MB / 397.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.486e-05/0.01185, allocations: 11.98 kB / 397.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.01186, allocations: 12.08 kB / 397.2 MB, free: 15.45 MB / 330.7 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 0.0001088/0.01197, allocations: 121.8 kB / 397.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.01199, allocations: 11.94 kB / 397.3 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.01218, allocations: 122.8 kB / 397.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01219, allocations: 4 kB / 397.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.01219, allocations: 0 / 397.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.0122, allocations: 3.984 kB / 397.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.01235, allocations: 180.6 kB / 397.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01236, allocations: 0 / 397.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.01238, allocations: 12 kB / 397.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.01249, allocations: 36.81 kB / 397.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.01249, allocations: 4 kB / 397.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007282/0.01322, allocations: 1.295 MB / 399 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01322, allocations: 8.094 kB / 399 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.01338, allocations: 200.7 kB / 399.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.01339, allocations: 11.94 kB / 399.2 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-06/0.0134, allocations: 7.938 kB / 399.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.446e-05/0.01347, allocations: 4 kB / 399.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.01349, allocations: 7.984 kB / 399.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.0135, allocations: 8 kB / 399.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.909e-05/0.01357, allocations: 107.3 kB / 399.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01357, allocations: 0 / 399.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.01379, allocations: 39.89 kB / 399.4 MB, free: 13.09 MB / 330.7 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.0004668/0.01426, allocations: 0.7406 MB / 400.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.01458, allocations: 190.5 kB / 400.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01458, allocations: 0 / 400.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.01469, allocations: 146.7 kB / 400.4 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.01499, allocations: 8 kB / 400.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.01637, allocations: 1.608 MB / 402.1 MB, free: 10.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.799e-05/0.01644, allocations: 97.17 kB / 402.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.187e-05/0.01648, allocations: 8.719 kB / 402.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.01652, allocations: 40.48 kB / 402.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01652, allocations: 3.938 kB / 402.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.03922, allocations: 3.639 MB / 405.8 MB, free: 6.578 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.159, allocations: 11.73 kB / 405.9 MB, free: 6.566 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.080186394043267] Failed to read output from testmodel.py, exit status != 0: 7.241306991316378 7.403939999 7.394697262 Calling exit ...