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.00181/0.00181, allocations: 101 kB / 20.52 MB, free: 1.449 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.002379/0.002379, allocations: 208.4 kB / 23.83 MB, free: 4.664 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.5/1.5, allocations: 230.6 MB / 257.6 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.03814/0.03814, allocations: 6.128 MB / 320.2 MB, free: 13 MB / 254.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 43.92 kB / 445.3 MB, free: 5.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1483, allocations: 55.03 MB / 0.4886 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.005142/0.1534, allocations: 3.644 MB / 0.4922 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.157, allocations: 1.878 MB / 0.494 GB, free: 8.785 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005748/0.1576, allocations: 8 kB / 0.494 GB, free: 8.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007627/0.1583, allocations: 210.7 kB / 0.4942 GB, free: 8.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.1597, allocations: 325.9 kB / 0.4945 GB, free: 8.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.1626, allocations: 1.311 MB / 0.4958 GB, free: 6.938 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.1639, allocations: 0.6843 MB / 0.4965 GB, free: 6.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.1643, allocations: 170.1 kB / 0.4966 GB, free: 6.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005541/0.1649, allocations: 298.9 kB / 0.4969 GB, free: 5.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000593/0.1655, allocations: 362.4 kB / 0.4973 GB, free: 5.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.1656, allocations: 56 kB / 0.4973 GB, free: 5.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007496/0.1663, allocations: 307.8 kB / 0.4976 GB, free: 5.074 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.1665, allocations: 151.4 kB / 0.4977 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.1668, allocations: 338.3 kB / 0.4981 GB, free: 4.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.1679, allocations: 0.8794 MB / 0.4989 GB, free: 3.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1679, allocations: 0 / 0.4989 GB, free: 3.711 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1679, allocations: 0 / 0.4989 GB, free: 3.711 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.1679, allocations: 0 / 0.4989 GB, free: 3.711 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.007549/0.1755, allocations: 1.858 MB / 0.5007 GB, free: 1.816 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1755, allocations: 12.02 kB / 0.5008 GB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.924e-05/0.1756, allocations: 13.19 kB / 0.5008 GB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.1757, allocations: 86.72 kB / 0.5008 GB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.1759, allocations: 88.45 kB / 0.5009 GB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.1765, allocations: 372.4 kB / 0.5013 GB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/0.1765, allocations: 45.38 kB / 0.5013 GB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.823e-05/0.1766, allocations: 52.38 kB / 0.5014 GB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.1779, allocations: 0.7765 MB / 0.5021 GB, free: 344 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1779, allocations: 0 / 0.5021 GB, free: 344 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.178, allocations: 24 kB / 0.5022 GB, free: 320 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.178, allocations: 16 kB / 0.5022 GB, free: 304 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.1792, allocations: 0.7106 MB / 0.5029 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.1832, allocations: 2.294 MB / 0.5051 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.1846, allocations: 0.7732 MB / 0.5059 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.1852, allocations: 410.7 kB / 0.5063 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.532e-05/0.1853, allocations: 24.56 kB / 0.5063 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.1853, allocations: 43.22 kB / 0.5063 GB, free: 11.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.567e-06/0.1853, allocations: 0 / 0.5063 GB, free: 11.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01418/0.1995, allocations: 3.339 MB / 0.5096 GB, free: 8.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.1996, allocations: 115.5 kB / 0.5097 GB, free: 8.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.2002, allocations: 385.5 kB / 0.5101 GB, free: 8.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.2003, allocations: 41.7 kB / 0.5101 GB, free: 7.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.2005, allocations: 233.4 kB / 0.5103 GB, free: 7.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.2007, allocations: 261.7 kB / 0.5106 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002999/0.201, allocations: 154.6 kB / 0.5107 GB, free: 7.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.2012, allocations: 358.8 kB / 0.5111 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/0.2019, allocations: 457.8 kB / 0.5115 GB, free: 6.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008674/0.2028, allocations: 0.5092 MB / 0.512 GB, free: 6.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.2044, allocations: 1.002 MB / 0.513 GB, free: 5.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2044, allocations: 0 / 0.513 GB, free: 5.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005466/0.2098, allocations: 1.945 MB / 0.5149 GB, free: 3.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2099, allocations: 4 kB / 0.5149 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2099, allocations: 0 / 0.5149 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005969/0.2158, allocations: 1.46 MB / 0.5163 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.2165, allocations: 119.9 kB / 0.5164 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2441/0.4606, allocations: 5.857 MB / 0.5221 GB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008418/0.4614, allocations: 83.69 kB / 0.5222 GB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.4615, allocations: 25.89 kB / 0.5222 GB, free: 28.14 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.0003452/0.4618, allocations: 189.1 kB / 0.5224 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.462, allocations: 63.28 kB / 0.5225 GB, free: 28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005915/0.4679, allocations: 1.881 MB / 0.5243 GB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.4679, allocations: 9.656 kB / 0.5243 GB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4679, allocations: 4.406 kB / 0.5243 GB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.4679, allocations: 3.75 kB / 0.5243 GB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006911/0.4748, allocations: 2.706 MB / 0.527 GB, free: 26.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.4748, allocations: 0.875 kB / 0.527 GB, free: 26.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.4752, allocations: 95.86 kB / 0.5271 GB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005453/0.4806, allocations: 1.282 MB / 0.5283 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.4807, allocations: 22.12 kB / 0.5283 GB, free: 26.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.4915, allocations: 5.779 MB / 0.534 GB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4915, allocations: 0 / 0.534 GB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005222/0.4967, allocations: 1.864 MB / 0.5358 GB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.4969, allocations: 63.2 kB / 0.5359 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.497, allocations: 21.05 kB / 0.5359 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/0.4975, allocations: 43.47 kB / 0.5359 GB, free: 21.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.4978, allocations: 64.19 kB / 0.536 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.4979, allocations: 30.08 kB / 0.536 GB, free: 21.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000341/0.4982, allocations: 255.5 kB / 0.5363 GB, free: 21.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4982, allocations: 5 kB / 0.5363 GB, free: 21.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009425/0.4992, allocations: 290.5 kB / 0.5365 GB, free: 21.59 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.005256/0.5044, allocations: 2.439 MB / 0.5389 GB, free: 20.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004077/0.5085, allocations: 1.556 MB / 0.5404 GB, free: 19.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.5085, allocations: 5.016 kB / 0.5405 GB, free: 19.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002855/0.5114, allocations: 1.026 MB / 0.5415 GB, free: 19.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.5119, allocations: 68.47 kB / 0.5415 GB, free: 19.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.5263, allocations: 7.682 MB / 0.549 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.5266, allocations: 0.8848 MB / 0.5499 GB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002853/0.5269, allocations: 89.25 kB / 0.55 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.5271, allocations: 212.2 kB / 0.5502 GB, free: 14.16 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5271, allocations: 0 / 0.5502 GB, free: 14.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0497/0.5768, allocations: 24.1 MB / 0.5737 GB, free: 7.367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.53, allocations: 4.062 kB / 0.5737 GB, free: 7.363 MB / 398.1 MB " [Timeout remaining time 645] (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: 17.352177362074144] Failed to read output from testmodel.py, exit status != 0: 14.71237727405969 14.73224617 14.560615607 Calling exit ...