Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.001271/0.001271, allocations: 116.7 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.001308/0.001308, 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.361/1.361, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.04979/0.04979, allocations: 8.231 MB / 311.6 MB, free: 2.051 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.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 71.83 kB / 434 MB, free: 11.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2479, allocations: 54.36 MB / 488.3 MB, free: 27.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.003935/0.2519, allocations: 3.733 MB / 492.1 MB, free: 24.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.254, allocations: 1.834 MB / 493.9 MB, free: 23.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.2543, allocations: 11 kB / 493.9 MB, free: 23.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.2547, allocations: 209.9 kB / 494.1 MB, free: 22.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005895/0.2553, allocations: 344.6 kB / 494.5 MB, free: 22.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.2572, allocations: 1.302 MB / 495.8 MB, free: 21.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006897/0.2579, allocations: 0.7076 MB / 496.5 MB, free: 21.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.2582, allocations: 172.8 kB / 496.6 MB, free: 21.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.2584, allocations: 289.5 kB / 496.9 MB, free: 20.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003658/0.2588, allocations: 381.1 kB / 497.3 MB, free: 20.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.2589, allocations: 56.78 kB / 497.3 MB, free: 20.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005499/0.2594, allocations: 295.4 kB / 497.6 MB, free: 20.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.971e-05/0.2595, allocations: 144.7 kB / 497.8 MB, free: 20.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.2598, allocations: 346.2 kB / 498.1 MB, free: 20.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008709/0.2606, allocations: 0.8739 MB / 499 MB, free: 19.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2606, allocations: 1.281 kB / 499 MB, free: 19.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2606, allocations: 4 kB / 499 MB, free: 19.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.2606, allocations: 0 / 499 MB, free: 19.61 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.006687/0.2673, allocations: 1.934 MB / 0.4892 GB, free: 18.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.2674, allocations: 14.42 kB / 0.4892 GB, free: 18.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.2675, allocations: 91.14 kB / 0.4893 GB, free: 18.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.2677, allocations: 83.94 kB / 0.4894 GB, free: 18.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/0.2682, allocations: 445.9 kB / 0.4898 GB, free: 17.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.2683, allocations: 40.81 kB / 0.4898 GB, free: 17.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/0.2683, allocations: 58.84 kB / 0.4899 GB, free: 17.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.2695, allocations: 0.7595 MB / 0.4906 GB, free: 17.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.2695, allocations: 3.938 kB / 0.4906 GB, free: 17.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-05/0.2695, allocations: 26.64 kB / 0.4907 GB, free: 17.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.2695, allocations: 14.88 kB / 0.4907 GB, free: 17.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009487/0.2705, allocations: 0.6842 MB / 0.4913 GB, free: 16.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.2737, allocations: 2.95 MB / 0.4942 GB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.2749, allocations: 1.209 MB / 0.4954 GB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005244/0.2754, allocations: 411.3 kB / 0.4958 GB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.164e-05/0.2755, allocations: 17.84 kB / 0.4958 GB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.2755, allocations: 44.56 kB / 0.4958 GB, free: 13.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 1.983e-06/0.2755, allocations: 0 / 0.4958 GB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01212/0.2877, allocations: 3.42 MB / 0.4992 GB, free: 11.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.2877, allocations: 110.3 kB / 0.4993 GB, free: 11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.2881, allocations: 393.4 kB / 0.4997 GB, free: 10.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.795e-05/0.2882, allocations: 41.73 kB / 0.4997 GB, free: 10.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.2883, allocations: 225.2 kB / 0.4999 GB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.2884, allocations: 263.1 kB / 0.5002 GB, free: 10.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.2887, allocations: 158.1 kB / 0.5003 GB, free: 10.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.2888, allocations: 366.2 kB / 0.5007 GB, free: 9.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/0.2893, allocations: 444.9 kB / 0.5011 GB, free: 9.578 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/0.29, allocations: 0.5083 MB / 0.5016 GB, free: 9.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.2912, allocations: 0.9885 MB / 0.5026 GB, free: 8.738 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2912, allocations: 0 / 0.5026 GB, free: 8.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004682/0.2959, allocations: 1.934 MB / 0.5044 GB, free: 7.645 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2959, allocations: 4.062 kB / 0.5045 GB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2959, allocations: 0 / 0.5045 GB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004714/0.3006, allocations: 1.527 MB / 0.5059 GB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.3011, allocations: 127.8 kB / 0.5061 GB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008774/0.3098, allocations: 5.974 MB / 0.5119 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/0.3104, allocations: 75.55 kB / 0.512 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/0.3105, allocations: 31.98 kB / 0.512 GB, free: 15.77 MB / 382.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 (75): * Single equations (assignments): 74 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003058/0.3108, allocations: 189.8 kB / 0.5122 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.3109, allocations: 63.55 kB / 0.5122 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005137/0.3161, allocations: 1.869 MB / 0.5141 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.3161, allocations: 8 kB / 0.5141 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3161, allocations: 4 kB / 0.5141 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.3161, allocations: 7.969 kB / 0.5141 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00608/0.3222, allocations: 2.721 MB / 0.5167 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3222, allocations: 0 / 0.5167 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.3225, allocations: 91.89 kB / 0.5168 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005178/0.3277, allocations: 1.297 MB / 0.5181 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/0.3277, allocations: 12 kB / 0.5181 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.3385, allocations: 5.878 MB / 0.5239 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3385, allocations: 0 / 0.5239 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004999/0.3435, allocations: 1.874 MB / 0.5257 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.3437, allocations: 140.7 kB / 0.5258 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/0.3438, allocations: 16 kB / 0.5258 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.3443, allocations: 39.97 kB / 0.5259 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.3445, allocations: 68.91 kB / 0.5259 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.585e-05/0.3445, allocations: 24 kB / 0.526 GB, free: 1.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003191/0.3448, allocations: 263.1 kB / 0.5262 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3448, allocations: 0 / 0.5262 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008191/0.3457, allocations: 291.8 kB / 0.5265 GB, free: 0.6641 MB / 382.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 (55): * Single equations (assignments): 54 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005359/0.351, allocations: 2.439 MB / 0.5289 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00384/0.3549, allocations: 1.548 MB / 0.5304 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.3549, allocations: 3.859 kB / 0.5304 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002714/0.3576, allocations: 1.04 MB / 0.5314 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.3581, allocations: 73.47 kB / 0.5315 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/0.3738, allocations: 7.567 MB / 0.5389 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.3743, allocations: 0.8925 MB / 0.5397 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.3746, allocations: 80.36 kB / 0.5398 GB, free: 2.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.3749, allocations: 215.4 kB / 0.54 GB, free: 2.641 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3749, allocations: 0 / 0.54 GB, free: 2.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05443/0.4293, allocations: 23.44 MB / 0.5629 GB, free: 11.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.65, allocations: 3.938 kB / 0.5629 GB, free: 11.39 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.109333073254675] Failed to read output from testmodel.py, exit status != 0: 12.745448518078774 12.760106094 12.496612413 Calling exit ...