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.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.0007599/0.0007599, 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.0008861/0.0008861, allocations: 173.9 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.951/0.951, allocations: 177.1 MB / 203.6 MB, free: 5.734 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.02404/0.02404, allocations: 4.469 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.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 1.353e-06/1.353e-06, allocations: 0 / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.45e-05, allocations: 12.97 kB / 389.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.002892/0.002916, allocations: 3.191 MB / 392.8 MB, free: 4.195 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.005231, allocations: 1.796 MB / 394.6 MB, free: 2.383 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.005449, allocations: 12 kB / 394.6 MB, free: 2.371 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.005861, allocations: 218.4 kB / 394.8 MB, free: 2.156 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005548/0.006416, allocations: 333.6 kB / 395.2 MB, free: 1.828 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.007658, allocations: 1.198 MB / 396.4 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008847/0.008543, allocations: 0.7188 MB / 397.1 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.008756, allocations: 165.8 kB / 397.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.009023, allocations: 419 kB / 397.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.009292, allocations: 271.2 kB / 397.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.707e-05/0.00935, allocations: 56 kB / 398 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/0.009751, allocations: 303.5 kB / 398.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.921e-05/0.00983, allocations: 143.4 kB / 398.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.009978, allocations: 231.4 kB / 398.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.01066, allocations: 0.9035 MB / 399.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01067, allocations: 0 / 399.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01067, allocations: 0 / 399.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.01067, allocations: 0 / 399.5 MB, free: 13.45 MB / 330.7 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.003566/0.01424, allocations: 1.854 MB / 401.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.01428, allocations: 8.031 kB / 401.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.988e-05/0.01437, allocations: 94.7 kB / 401.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.967e-05/0.01447, allocations: 76.47 kB / 401.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.01488, allocations: 375.7 kB / 401.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.01492, allocations: 45.38 kB / 402 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.01498, allocations: 68.25 kB / 402 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008557/0.01584, allocations: 1.12 MB / 403.2 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.01585, allocations: 192 / 403.2 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.0159, allocations: 20.38 kB / 403.2 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.01591, allocations: 20.12 kB / 403.2 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009438/0.01685, allocations: 0.7029 MB / 403.9 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.01885, allocations: 1.763 MB / 405.7 MB, free: 7.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008271/0.01968, allocations: 0.7657 MB / 406.4 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.02008, allocations: 410.7 kB / 406.8 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.23e-05/0.02014, allocations: 12.64 kB / 406.8 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.02017, allocations: 43.22 kB / 406.9 MB, free: 5.855 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 1.693e-06/0.02017, allocations: 3.938 kB / 406.9 MB, free: 5.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.006742/0.02691, allocations: 3.347 MB / 410.2 MB, free: 2.492 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.02697, allocations: 111.5 kB / 410.3 MB, free: 2.359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.02727, allocations: 385.5 kB / 410.7 MB, free: 1.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.02732, allocations: 45.7 kB / 410.8 MB, free: 1.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.02742, allocations: 225.5 kB / 411 MB, free: 1.703 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003873/0.02781, allocations: 253.8 kB / 411.2 MB, free: 1.453 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.02798, allocations: 158.6 kB / 411.4 MB, free: 1.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.02808, allocations: 362.7 kB / 411.7 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/0.02851, allocations: 453.8 kB / 412.2 MB, free: 496 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1665/0.195, allocations: 0.5577 MB / 412.7 MB, free: 33.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.1962, allocations: 1 MB / 413.7 MB, free: 32.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1962, allocations: 0 / 413.7 MB, free: 32.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003212/0.1994, allocations: 1.939 MB / 415.7 MB, free: 32.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.1995, allocations: 5.375 kB / 415.7 MB, free: 32.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1995, allocations: 0.7031 kB / 415.7 MB, free: 32.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/0.2027, allocations: 1.452 MB / 417.1 MB, free: 32.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.203, allocations: 128.9 kB / 417.3 MB, free: 32.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006937/0.2099, allocations: 5.713 MB / 423 MB, free: 28.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.2103, allocations: 81.36 kB / 423.1 MB, free: 28.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/0.2103, allocations: 30.67 kB / 423.1 MB, free: 28.66 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 (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.0002312/0.2106, allocations: 190.2 kB / 423.3 MB, free: 28.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.2107, allocations: 57.97 kB / 423.3 MB, free: 28.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/0.2137, allocations: 1.881 MB / 425.2 MB, free: 27.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.2138, allocations: 8.453 kB / 425.2 MB, free: 27.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.2138, allocations: 7.938 kB / 425.2 MB, free: 27.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.2138, allocations: 5.219 kB / 425.2 MB, free: 27.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.2175, allocations: 2.534 MB / 427.8 MB, free: 26.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2175, allocations: 1.344 kB / 427.8 MB, free: 26.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.2177, allocations: 91.3 kB / 427.9 MB, free: 26.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00291/0.2206, allocations: 1.284 MB / 429.1 MB, free: 26.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.2207, allocations: 21.62 kB / 429.2 MB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005942/0.2266, allocations: 5.626 MB / 434.8 MB, free: 22.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2266, allocations: 4 kB / 434.8 MB, free: 22.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.2291, allocations: 1.86 MB / 436.7 MB, free: 21.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.2292, allocations: 65.56 kB / 436.7 MB, free: 21.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.2292, allocations: 23.98 kB / 436.7 MB, free: 21.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.2295, allocations: 46.84 kB / 436.8 MB, free: 21.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2296, allocations: 60.88 kB / 436.8 MB, free: 21.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.2296, allocations: 34.05 kB / 436.9 MB, free: 21.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.2298, allocations: 255.2 kB / 437.1 MB, free: 21.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2298, allocations: 0 / 437.1 MB, free: 21.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005812/0.2304, allocations: 291.8 kB / 437.4 MB, free: 21.08 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 (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.002574/0.233, allocations: 2.434 MB / 439.8 MB, free: 18.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.2348, allocations: 1.546 MB / 441.4 MB, free: 17.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2348, allocations: 0 / 441.4 MB, free: 17.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.236, allocations: 1.03 MB / 442.4 MB, free: 16.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.2364, allocations: 64.53 kB / 442.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007806/0.2442, allocations: 7.693 MB / 450.2 MB, free: 8.199 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2443, allocations: 286 kB / 450.5 MB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000151/0.2445, allocations: 84.84 kB / 450.5 MB, free: 7.816 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.2446, allocations: 212.4 kB / 450.8 MB, free: 7.609 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2446, allocations: 4 kB / 450.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.2779, allocations: 23.85 MB / 474.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.496, allocations: 7.031 kB / 474.6 MB, free: 15.98 MB / 362.7 MB " [Timeout remaining time 651] (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: 10.291847960092127] Failed to read output from testmodel.py, exit status != 0: 8.595851480960846 8.604415478 8.592072734 Calling exit ...