Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.001487/0.001487, allocations: 115 kB / 17.17 MB, free: 5.875 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.001479/0.001479, allocations: 196.5 kB / 20.13 MB, free: 2.934 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.38/1.38, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.05387/0.05387, allocations: 8.234 MB / 311.6 MB, free: 2.035 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.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 67.89 kB / 434 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2476, allocations: 54.35 MB / 488.3 MB, free: 27.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003747/0.2514, allocations: 3.88 MB / 492.2 MB, free: 24.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.2537, allocations: 1.962 MB / 494.2 MB, free: 22.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.2539, allocations: 15 kB / 494.2 MB, free: 22.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004258/0.2543, allocations: 223.2 kB / 494.4 MB, free: 22.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006035/0.2549, allocations: 390 kB / 494.8 MB, free: 22.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.2568, allocations: 1.326 MB / 496.1 MB, free: 21.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007518/0.2576, allocations: 0.7928 MB / 496.9 MB, free: 20.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.2578, allocations: 170.7 kB / 497.1 MB, free: 20.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.2581, allocations: 339.4 kB / 497.4 MB, free: 20.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004151/0.2585, allocations: 425.8 kB / 497.8 MB, free: 20.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.446e-05/0.2586, allocations: 62.56 kB / 497.9 MB, free: 20.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004972/0.2591, allocations: 299.1 kB / 498.2 MB, free: 20.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.134e-05/0.2592, allocations: 156.2 kB / 498.3 MB, free: 20.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.2595, allocations: 380 kB / 498.7 MB, free: 19.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008475/0.2603, allocations: 0.94 MB / 499.6 MB, free: 19.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2603, allocations: 4 kB / 499.6 MB, free: 19.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2603, allocations: 0 / 499.6 MB, free: 19.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.2603, allocations: 0 / 499.6 MB, free: 19.12 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00746/0.2678, allocations: 2.154 MB / 0.49 GB, free: 17.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.2678, allocations: 12.89 kB / 0.49 GB, free: 17.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.268, allocations: 92.8 kB / 0.4901 GB, free: 17.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.2682, allocations: 88.05 kB / 0.4902 GB, free: 17.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/0.2688, allocations: 488.5 kB / 0.4907 GB, free: 17.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.2688, allocations: 44.56 kB / 0.4907 GB, free: 17.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.269, allocations: 65.14 kB / 0.4908 GB, free: 17.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.2703, allocations: 0.8338 MB / 0.4916 GB, free: 16.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2703, allocations: 3.938 kB / 0.4916 GB, free: 16.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-05/0.2704, allocations: 26.94 kB / 0.4916 GB, free: 16.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.2704, allocations: 11.22 kB / 0.4916 GB, free: 16.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.2716, allocations: 0.7841 MB / 0.4924 GB, free: 16.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004167/0.2758, allocations: 3.328 MB / 0.4957 GB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.2775, allocations: 1.253 MB / 0.4969 GB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007984/0.2783, allocations: 0.5075 MB / 0.4974 GB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.2784, allocations: 27.81 kB / 0.4974 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.2784, allocations: 46.03 kB / 0.4974 GB, free: 12.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.174e-06/0.2784, allocations: 0 / 0.4974 GB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.01357/0.292, allocations: 3.918 MB / 0.5013 GB, free: 9.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.2921, allocations: 116.9 kB / 0.5014 GB, free: 9.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.2925, allocations: 427.6 kB / 0.5018 GB, free: 9.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-05/0.2926, allocations: 48.48 kB / 0.5018 GB, free: 9.371 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.2927, allocations: 242 kB / 0.5021 GB, free: 9.152 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.2929, allocations: 311.7 kB / 0.5024 GB, free: 8.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.2932, allocations: 184.7 kB / 0.5025 GB, free: 8.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.2932, allocations: 372.6 kB / 0.5029 GB, free: 8.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.2939, allocations: 0.538 MB / 0.5034 GB, free: 8.109 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/0.2947, allocations: 0.623 MB / 0.504 GB, free: 7.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.2962, allocations: 1.207 MB / 0.5052 GB, free: 6.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2962, allocations: 0 / 0.5052 GB, free: 6.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005315/0.3015, allocations: 2.331 MB / 0.5075 GB, free: 4.531 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3015, allocations: 7.984 kB / 0.5075 GB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3015, allocations: 4 kB / 0.5075 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005727/0.3073, allocations: 1.765 MB / 0.5092 GB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.3078, allocations: 147.8 kB / 0.5094 GB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/0.3206, allocations: 7.359 MB / 0.5165 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/0.3214, allocations: 95.28 kB / 0.5166 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-05/0.3215, allocations: 35.98 kB / 0.5167 GB, free: 10.98 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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003453/0.3218, allocations: 202.6 kB / 0.5169 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.322, allocations: 75.52 kB / 0.5169 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006202/0.3282, allocations: 2.269 MB / 0.5191 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.3282, allocations: 15.94 kB / 0.5192 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3282, allocations: 0 / 0.5192 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.3282, allocations: 7.984 kB / 0.5192 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007368/0.3356, allocations: 3.272 MB / 0.5224 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3356, allocations: 0 / 0.5224 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.3359, allocations: 119.8 kB / 0.5225 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006146/0.3421, allocations: 1.488 MB / 0.5239 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.3422, allocations: 23.94 kB / 0.524 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/0.3556, allocations: 7.238 MB / 0.531 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3556, allocations: 0 / 0.531 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00603/0.3616, allocations: 2.238 MB / 0.5332 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.3619, allocations: 152.4 kB / 0.5334 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.362, allocations: 20 kB / 0.5334 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/0.3626, allocations: 47.95 kB / 0.5334 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.3628, allocations: 76.89 kB / 0.5335 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.757e-05/0.3629, allocations: 28 kB / 0.5335 GB, free: 9.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003793/0.3633, allocations: 303.1 kB / 0.5338 GB, free: 9.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3633, allocations: 0 / 0.5338 GB, free: 9.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000956/0.3642, allocations: 343.8 kB / 0.5341 GB, free: 8.809 MB / 398.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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006406/0.3706, allocations: 2.82 MB / 0.5369 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004563/0.3752, allocations: 1.85 MB / 0.5387 GB, free: 4.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3752, allocations: 0 / 0.5387 GB, free: 4.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003336/0.3786, allocations: 1.231 MB / 0.5399 GB, free: 2.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.3793, allocations: 85.94 kB / 0.54 GB, free: 2.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/0.3985, allocations: 8.924 MB / 0.5487 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.3991, allocations: 0.9218 MB / 0.5496 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003262/0.3994, allocations: 100.8 kB / 0.5497 GB, free: 8.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.3997, allocations: 239.3 kB / 0.5499 GB, free: 8.453 MB / 414.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3997, allocations: 0 / 0.5499 GB, free: 8.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06518/0.4649, allocations: 28.74 MB / 0.578 GB, free: 11.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.8, allocations: 2.812 kB / 0.578 GB, free: 11.86 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.236492316238582] Failed to read output from testmodel.py, exit status != 0: 12.899635035078973 12.91242075 12.649384156 Calling exit ...