Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.001269/0.001269, allocations: 108.8 kB / 17.17 MB, free: 5.867 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.001236/0.001236, allocations: 196.5 kB / 20.12 MB, free: 2.93 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.366/1.366, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.0511/0.0511, allocations: 8.236 MB / 311.6 MB, free: 2.137 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.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 72.12 kB / 434 MB, free: 11.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2551, allocations: 54.36 MB / 488.3 MB, free: 27.4 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003428/0.2586, allocations: 3.356 MB / 491.7 MB, free: 24.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.2606, allocations: 1.875 MB / 493.6 MB, free: 23.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.2608, allocations: 10.09 kB / 493.6 MB, free: 23.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.2612, allocations: 198.2 kB / 493.8 MB, free: 23.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005313/0.2617, allocations: 319.4 kB / 494.1 MB, free: 22.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.2635, allocations: 1.293 MB / 495.4 MB, free: 21.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.2641, allocations: 0.6624 MB / 496 MB, free: 21.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.2643, allocations: 157.7 kB / 496.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.2645, allocations: 273.4 kB / 496.4 MB, free: 21.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.2649, allocations: 351.1 kB / 496.8 MB, free: 20.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.463e-05/0.2649, allocations: 51.31 kB / 496.8 MB, free: 20.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.2654, allocations: 289.4 kB / 497.1 MB, free: 20.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.2655, allocations: 135.6 kB / 497.3 MB, free: 20.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.2657, allocations: 315 kB / 497.6 MB, free: 20.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007191/0.2664, allocations: 0.821 MB / 498.4 MB, free: 19.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2664, allocations: 0 / 498.4 MB, free: 19.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2664, allocations: 4 kB / 498.4 MB, free: 19.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2664, allocations: 0 / 498.4 MB, free: 19.98 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.006522/0.273, allocations: 1.899 MB / 0.4886 GB, free: 18.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.273, allocations: 14.14 kB / 0.4886 GB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.19e-05/0.2731, allocations: 82.56 kB / 0.4887 GB, free: 18.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.2733, allocations: 68.31 kB / 0.4887 GB, free: 18.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.2738, allocations: 439.8 kB / 0.4891 GB, free: 18.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.2738, allocations: 38.06 kB / 0.4892 GB, free: 18.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/0.2739, allocations: 50.06 kB / 0.4892 GB, free: 18.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009669/0.2749, allocations: 0.7226 MB / 0.4899 GB, free: 17.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.2749, allocations: 3.938 kB / 0.4899 GB, free: 17.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/0.2749, allocations: 21.62 kB / 0.49 GB, free: 17.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.2749, allocations: 11.09 kB / 0.49 GB, free: 17.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008586/0.2758, allocations: 0.6582 MB / 0.4906 GB, free: 17.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.2789, allocations: 2.843 MB / 0.4934 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.2801, allocations: 1.001 MB / 0.4944 GB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005213/0.2806, allocations: 420.6 kB / 0.4948 GB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-05/0.2807, allocations: 25.75 kB / 0.4948 GB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.2807, allocations: 47.78 kB / 0.4948 GB, free: 13.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.344e-06/0.2807, allocations: 0 / 0.4948 GB, free: 13.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01077/0.2915, allocations: 3.172 MB / 0.4979 GB, free: 12.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.2915, allocations: 110.9 kB / 0.498 GB, free: 11.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.292, allocations: 380.5 kB / 0.4984 GB, free: 11.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.482e-05/0.2921, allocations: 47.2 kB / 0.4984 GB, free: 11.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.2922, allocations: 218.2 kB / 0.4986 GB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.2923, allocations: 258.6 kB / 0.4989 GB, free: 11.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.2925, allocations: 157.8 kB / 0.499 GB, free: 11.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.836e-05/0.2926, allocations: 361.8 kB / 0.4994 GB, free: 10.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005831/0.2932, allocations: 467.5 kB / 0.4998 GB, free: 10.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/0.2939, allocations: 0.5217 MB / 0.5003 GB, free: 10.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.2952, allocations: 1.019 MB / 0.5013 GB, free: 9.656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2952, allocations: 5.188 kB / 0.5013 GB, free: 9.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004872/0.3, allocations: 1.974 MB / 0.5033 GB, free: 8.531 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3001, allocations: 5.094 kB / 0.5033 GB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3001, allocations: 0 / 0.5033 GB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005049/0.3051, allocations: 1.533 MB / 0.5048 GB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.3056, allocations: 127.9 kB / 0.5049 GB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009107/0.3147, allocations: 6.291 MB / 0.511 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/0.3153, allocations: 83.53 kB / 0.5111 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/0.3154, allocations: 27.98 kB / 0.5111 GB, free: 0.6914 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 (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.0002341/0.3156, allocations: 193.7 kB / 0.5113 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.3157, allocations: 59.62 kB / 0.5114 GB, free: 444 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/0.3208, allocations: 1.94 MB / 0.5133 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.3208, allocations: 12 kB / 0.5133 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3208, allocations: 0 / 0.5133 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.3208, allocations: 7.984 kB / 0.5133 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005995/0.3268, allocations: 2.784 MB / 0.516 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3268, allocations: 0 / 0.516 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.3271, allocations: 99.83 kB / 0.5161 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005081/0.3322, allocations: 1.289 MB / 0.5174 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/0.3323, allocations: 16 kB / 0.5174 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.3432, allocations: 6.21 MB / 0.5235 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3432, allocations: 0 / 0.5235 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005004/0.3482, allocations: 1.913 MB / 0.5253 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.3484, allocations: 144.7 kB / 0.5255 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.3485, allocations: 12 kB / 0.5255 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/0.3491, allocations: 47.97 kB / 0.5255 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.3492, allocations: 60.91 kB / 0.5256 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.219e-05/0.3493, allocations: 23.94 kB / 0.5256 GB, free: 1.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003413/0.3496, allocations: 267.1 kB / 0.5259 GB, free: 1.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3496, allocations: 4 kB / 0.5259 GB, free: 1.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00088/0.3505, allocations: 279.9 kB / 0.5261 GB, free: 1.078 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 (56): * Single equations (assignments): 55 * 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.005503/0.356, allocations: 2.485 MB / 0.5286 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004004/0.36, allocations: 1.596 MB / 0.5301 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.36, allocations: 0 / 0.5301 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002789/0.3628, allocations: 1.06 MB / 0.5311 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005898/0.3634, allocations: 61.55 kB / 0.5312 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.3792, allocations: 7.669 MB / 0.5387 GB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.3797, allocations: 0.8816 MB / 0.5396 GB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002736/0.38, allocations: 80.34 kB / 0.5396 GB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.3803, allocations: 199.4 kB / 0.5398 GB, free: 2.891 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3803, allocations: 7.938 kB / 0.5398 GB, free: 2.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05787/0.4382, allocations: 23.98 MB / 0.5633 GB, free: 11.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.53, allocations: 4 kB / 0.5633 GB, free: 11.05 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.944271244108677] Failed to read output from testmodel.py, exit status != 0: 12.634111593011767 12.659870328 12.38875094 Calling exit ...