Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.001736/0.001736, allocations: 118.6 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.001884/0.001884, allocations: 195.7 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.423/1.423, 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.05158/0.05158, allocations: 8.227 MB / 311.6 MB, free: 2.066 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.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 67.89 kB / 434 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2516, allocations: 54.36 MB / 488.3 MB, free: 27.47 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.005122/0.2567, allocations: 5.932 MB / 494.3 MB, free: 22.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.26, allocations: 2.349 MB / 496.6 MB, free: 20.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003387/0.2603, allocations: 17.88 kB / 496.6 MB, free: 20.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005746/0.2609, allocations: 311.1 kB / 496.9 MB, free: 20.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000969/0.2619, allocations: 0.6089 MB / 497.5 MB, free: 20.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.2641, allocations: 1.468 MB / 499 MB, free: 19.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.2652, allocations: 1.298 MB / 0.4886 GB, free: 18.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.2656, allocations: 285.9 kB / 0.4889 GB, free: 18.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004331/0.266, allocations: 0.5463 MB / 0.4894 GB, free: 17.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006544/0.2667, allocations: 0.6976 MB / 0.4901 GB, free: 17.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.2669, allocations: 102.2 kB / 0.4902 GB, free: 17.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005756/0.2674, allocations: 346.4 kB / 0.4905 GB, free: 17.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.2676, allocations: 262.8 kB / 0.4907 GB, free: 16.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004441/0.268, allocations: 0.6067 MB / 0.4913 GB, free: 16.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.2693, allocations: 1.423 MB / 0.4927 GB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2693, allocations: 1.219 kB / 0.4927 GB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2693, allocations: 0 / 0.4927 GB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.2693, allocations: 0 / 0.4927 GB, free: 15.52 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01119/0.2805, allocations: 3.186 MB / 0.4958 GB, free: 13.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.2805, allocations: 17.58 kB / 0.4959 GB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.2807, allocations: 140.9 kB / 0.496 GB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.2809, allocations: 138.5 kB / 0.4961 GB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008327/0.2818, allocations: 0.6861 MB / 0.4968 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.2818, allocations: 73.16 kB / 0.4969 GB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.282, allocations: 99.66 kB / 0.497 GB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.2837, allocations: 1.346 MB / 0.4983 GB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.2837, allocations: 0 / 0.4983 GB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.363e-05/0.2838, allocations: 43 kB / 0.4983 GB, free: 12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.2838, allocations: 19.25 kB / 0.4983 GB, free: 12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.2854, allocations: 1.28 MB / 0.4996 GB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.2907, allocations: 5.219 MB / 0.5047 GB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.293, allocations: 2.93 MB / 0.5075 GB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008855/0.2938, allocations: 0.8301 MB / 0.5084 GB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.294, allocations: 49.12 kB / 0.5084 GB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.294, allocations: 56.11 kB / 0.5085 GB, free: 3.262 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 3.216e-06/0.294, allocations: 0 / 0.5085 GB, free: 3.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.02511/0.3191, allocations: 6.98 MB / 0.5153 GB, free: 12.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.3192, allocations: 116.1 kB / 0.5154 GB, free: 12.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.3202, allocations: 0.641 MB / 0.516 GB, free: 11.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002458/0.3205, allocations: 65.7 kB / 0.5161 GB, free: 11.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.3208, allocations: 334.8 kB / 0.5164 GB, free: 11.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005735/0.3214, allocations: 0.515 MB / 0.5169 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/0.3218, allocations: 271.6 kB / 0.5171 GB, free: 10.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.322, allocations: 349.9 kB / 0.5175 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.3234, allocations: 0.859 MB / 0.5183 GB, free: 9.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.3248, allocations: 0.9807 MB / 0.5193 GB, free: 8.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002948/0.3278, allocations: 1.936 MB / 0.5212 GB, free: 6.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3278, allocations: 0 / 0.5212 GB, free: 6.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01011/0.3379, allocations: 3.737 MB / 0.5248 GB, free: 2.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.3379, allocations: 4 kB / 0.5248 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3379, allocations: 0 / 0.5248 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/0.3494, allocations: 3.942 MB / 0.5287 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009458/0.3503, allocations: 227.7 kB / 0.5289 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02394/0.3743, allocations: 11.46 MB / 0.5401 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.3757, allocations: 142.9 kB / 0.5402 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/0.3759, allocations: 55.97 kB / 0.5403 GB, free: 2.438 MB / 398.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 (135): * Single equations (assignments): 134 * 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 {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0006776/0.3766, allocations: 257.7 kB / 0.5405 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003919/0.377, allocations: 119.2 kB / 0.5406 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.3874, allocations: 3.703 MB / 0.5442 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.3874, allocations: 19.94 kB / 0.5443 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3874, allocations: 0 / 0.5443 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.452e-05/0.3874, allocations: 7.969 kB / 0.5443 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.4001, allocations: 5.211 MB / 0.5494 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.4001, allocations: 4 kB / 0.5494 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006175/0.4007, allocations: 175.7 kB / 0.5495 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01012/0.4109, allocations: 2.723 MB / 0.5522 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002365/0.4111, allocations: 39.98 kB / 0.5522 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02349/0.4346, allocations: 11.26 MB / 0.5632 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4346, allocations: 0 / 0.5632 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/0.4448, allocations: 3.579 MB / 0.5667 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004863/0.4453, allocations: 204 kB / 0.5669 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/0.4456, allocations: 31.94 kB / 0.5669 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.4468, allocations: 91.86 kB / 0.567 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004296/0.4473, allocations: 126.4 kB / 0.5672 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/0.4474, allocations: 47.98 kB / 0.5672 GB, free: 6.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007054/0.4481, allocations: 439 kB / 0.5676 GB, free: 6.141 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4481, allocations: 0 / 0.5676 GB, free: 6.141 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001815/0.4499, allocations: 0.5427 MB / 0.5681 GB, free: 5.598 MB / 430.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 (106): * Single equations (assignments): 105 * 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 {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01021/0.4602, allocations: 4.186 MB / 0.5722 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007326/0.4675, allocations: 2.993 MB / 0.5752 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.4675, allocations: 4.656 kB / 0.5752 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005308/0.4728, allocations: 1.972 MB / 0.5771 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.4739, allocations: 160.5 kB / 0.5772 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03085/0.5048, allocations: 13.89 MB / 0.5908 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009143/0.5057, allocations: 1.092 MB / 0.5919 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005436/0.5062, allocations: 143.5 kB / 0.592 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005682/0.5068, allocations: 411.3 kB / 0.5924 GB, free: 12.54 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5068, allocations: 0 / 0.5924 GB, free: 12.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2805/0.7873, allocations: 46.28 MB / 0.6376 GB, free: 95.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.18, allocations: 14.72 kB / 0.6376 GB, free: 95.67 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.845696452073753] Failed to read output from testmodel.py, exit status != 0: 14.281516895163804 14.290001786 14.018841419 Calling exit ...