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.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.001677/0.001677, 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.001619/0.001619, allocations: 212.4 kB / 23.84 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.477/1.477, allocations: 230.6 MB / 257.6 MB, free: 7.965 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.03981/0.03981, allocations: 6.141 MB / 320.2 MB, free: 13.01 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.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 47.92 kB / 445.3 MB, free: 5.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.103, allocations: 55.02 MB / 0.4886 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.006903/0.1099, allocations: 5.755 MB / 0.4942 GB, free: 8.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004371/0.1143, allocations: 2.376 MB / 0.4965 GB, free: 6.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006974/0.115, allocations: 16 kB / 0.4966 GB, free: 6.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009308/0.1159, allocations: 313.9 kB / 0.4969 GB, free: 5.762 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.1176, allocations: 0.59 MB / 0.4974 GB, free: 5.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003211/0.1208, allocations: 1.455 MB / 0.4989 GB, free: 3.715 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.1229, allocations: 1.272 MB / 0.5001 GB, free: 2.438 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004958/0.1234, allocations: 277.6 kB / 0.5004 GB, free: 2.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007041/0.1241, allocations: 0.5448 MB / 0.5009 GB, free: 1.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009906/0.1251, allocations: 0.6808 MB / 0.5016 GB, free: 0.918 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.1253, allocations: 104 kB / 0.5017 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008135/0.1261, allocations: 347.8 kB / 0.502 GB, free: 488 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.1264, allocations: 266.9 kB / 0.5022 GB, free: 220 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006381/0.127, allocations: 0.5986 MB / 0.5028 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.129, allocations: 1.408 MB / 0.5042 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.129, allocations: 0 / 0.5042 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.129, allocations: 0 / 0.5042 GB, free: 14.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.129, allocations: 4 kB / 0.5042 GB, free: 14.2 MB / 382.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.01331/0.1423, allocations: 3.105 MB / 0.5072 GB, free: 11.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1423, allocations: 12.03 kB / 0.5072 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.094e-05/0.1424, allocations: 22.19 kB / 0.5073 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.1426, allocations: 135.2 kB / 0.5074 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002773/0.1428, allocations: 136.1 kB / 0.5075 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.144, allocations: 0.6156 MB / 0.5081 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.409e-05/0.144, allocations: 78.38 kB / 0.5082 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.1442, allocations: 96.38 kB / 0.5083 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.1464, allocations: 1.373 MB / 0.5096 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.1464, allocations: 0 / 0.5096 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.1465, allocations: 36 kB / 0.5097 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.1465, allocations: 20 kB / 0.5097 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.1487, allocations: 1.324 MB / 0.511 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007179/0.1559, allocations: 4.309 MB / 0.5152 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/0.1586, allocations: 1.675 MB / 0.5168 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.1599, allocations: 0.8481 MB / 0.5177 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.1601, allocations: 37.25 kB / 0.5177 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/0.1601, allocations: 56.11 kB / 0.5177 GB, free: 16 kB / 382.1 MB Notification: Performance of pre-optimization done (n=147): time 3.506e-06/0.1601, allocations: 0 / 0.5177 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=147): time 0.2156/0.3758, allocations: 6.922 MB / 0.5245 GB, free: 29.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.3758, allocations: 121.3 kB / 0.5246 GB, free: 29.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009216/0.3768, allocations: 0.6233 MB / 0.5252 GB, free: 29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002709/0.377, allocations: 62.92 kB / 0.5253 GB, free: 28.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.3773, allocations: 326.4 kB / 0.5256 GB, free: 28.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.3777, allocations: 0.5097 MB / 0.5261 GB, free: 28.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004818/0.3782, allocations: 283.9 kB / 0.5264 GB, free: 28.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.739e-05/0.3782, allocations: 345.8 kB / 0.5267 GB, free: 28.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.3795, allocations: 0.8715 MB / 0.5276 GB, free: 28.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.381, allocations: 0.9887 MB / 0.5285 GB, free: 27.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.3837, allocations: 1.963 MB / 0.5304 GB, free: 26.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.3837, allocations: 0 / 0.5304 GB, free: 26.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01031/0.3941, allocations: 3.761 MB / 0.5341 GB, free: 25.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.3941, allocations: 5.344 kB / 0.5341 GB, free: 25.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3941, allocations: 0 / 0.5341 GB, free: 25.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/0.4054, allocations: 3.555 MB / 0.5376 GB, free: 24.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009461/0.4063, allocations: 229.8 kB / 0.5378 GB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/0.4264, allocations: 11.33 MB / 0.5489 GB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.4277, allocations: 143.5 kB / 0.549 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4278, allocations: 59.45 kB / 0.5491 GB, free: 16.72 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 (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.0004073/0.4282, allocations: 257.7 kB / 0.5493 GB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.4284, allocations: 111.3 kB / 0.5494 GB, free: 16.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009004/0.4374, allocations: 3.723 MB / 0.553 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.4374, allocations: 23.94 kB / 0.5531 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4374, allocations: 1 kB / 0.5531 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/0.4375, allocations: 7.969 kB / 0.5531 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.4479, allocations: 5.213 MB / 0.5582 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.4479, allocations: 0 / 0.5582 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005733/0.4485, allocations: 182.2 kB / 0.5583 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009722/0.4582, allocations: 2.732 MB / 0.561 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002244/0.4585, allocations: 43.98 kB / 0.5611 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02107/0.4795, allocations: 11.14 MB / 0.5719 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4795, allocations: 4 kB / 0.5719 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/0.4903, allocations: 3.602 MB / 0.5755 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.4906, allocations: 128.3 kB / 0.5756 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/0.4909, allocations: 28 kB / 0.5756 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.4919, allocations: 95.92 kB / 0.5757 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004694/0.4924, allocations: 126.4 kB / 0.5758 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.4926, allocations: 51.98 kB / 0.5759 GB, free: 5.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007176/0.4933, allocations: 423 kB / 0.5763 GB, free: 4.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4933, allocations: 3.375 kB / 0.5763 GB, free: 4.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001603/0.4949, allocations: 0.5348 MB / 0.5768 GB, free: 4.184 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 (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.01097/0.5058, allocations: 4.205 MB / 0.5809 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007903/0.5137, allocations: 3.018 MB / 0.5838 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/0.5138, allocations: 4.656 kB / 0.5839 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005831/0.5196, allocations: 2.011 MB / 0.5858 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.5206, allocations: 146.1 kB / 0.586 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03229/0.5529, allocations: 13.99 MB / 0.5996 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/0.5537, allocations: 1.077 MB / 0.6007 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005554/0.5542, allocations: 147.5 kB / 0.6008 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005675/0.5548, allocations: 399.3 kB / 0.6012 GB, free: 11.01 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5548, allocations: 0.875 kB / 0.6012 GB, free: 11.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0943/0.6491, allocations: 47.58 MB / 0.6477 GB, free: 11.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.89/16.54, allocations: 0 / 0.6477 GB, free: 11.66 MB / 478.1 MB " [Timeout remaining time 643] (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: 19.80169798596762] Failed to read output from testmodel.py, exit status != 0: 16.730754590942524 16.759382967 16.625789133 Calling exit ...