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.001742/0.001742, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.002293/0.002293, allocations: 219.2 kB / 23.03 MB, free: 5.016 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.508/1.508, allocations: 230.6 MB / 256.8 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.04/0.04, allocations: 6.145 MB / 319.4 MB, free: 12.78 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="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.001664/0.001664, allocations: 51.91 kB / 444.4 MB, free: 5.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1131, allocations: 55.02 MB / 499.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.006435/0.1195, allocations: 4.918 MB / 0.4926 GB, free: 9.062 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003929/0.1235, allocations: 2.299 MB / 0.4948 GB, free: 6.746 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.1239, allocations: 20 kB / 0.4948 GB, free: 6.727 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007176/0.1246, allocations: 313.9 kB / 0.4951 GB, free: 6.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.1259, allocations: 0.59 MB / 0.4957 GB, free: 5.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.1288, allocations: 1.344 MB / 0.497 GB, free: 4.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.1305, allocations: 1.264 MB / 0.4982 GB, free: 3.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004583/0.1309, allocations: 261.6 kB / 0.4985 GB, free: 2.941 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006716/0.1316, allocations: 0.5409 MB / 0.499 GB, free: 2.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008499/0.1324, allocations: 0.6066 MB / 0.4996 GB, free: 1.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.1326, allocations: 104 kB / 0.4997 GB, free: 1.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008203/0.1334, allocations: 343.6 kB / 0.5 GB, free: 1.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.1337, allocations: 263 kB / 0.5003 GB, free: 1.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006055/0.1343, allocations: 0.4898 MB / 0.5008 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.136, allocations: 1.42 MB / 0.5022 GB, free: 15.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.136, allocations: 0 / 0.5022 GB, free: 15.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.136, allocations: 0 / 0.5022 GB, free: 15.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.136, allocations: 0 / 0.5022 GB, free: 15.18 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.01296/0.149, allocations: 3.101 MB / 0.5052 GB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.149, allocations: 12.02 kB / 0.5052 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002017/0.1492, allocations: 135.3 kB / 0.5053 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.1495, allocations: 136.1 kB / 0.5055 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.1507, allocations: 0.6156 MB / 0.5061 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.305e-05/0.1508, allocations: 70.38 kB / 0.5061 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.1509, allocations: 104.3 kB / 0.5062 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.1537, allocations: 2.101 MB / 0.5083 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.1537, allocations: 0 / 0.5083 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.1538, allocations: 36 kB / 0.5083 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.1538, allocations: 24 kB / 0.5083 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.156, allocations: 1.312 MB / 0.5096 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006861/0.1629, allocations: 3.077 MB / 0.5126 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.1657, allocations: 1.667 MB / 0.5142 GB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.167, allocations: 0.8442 MB / 0.5151 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.1671, allocations: 29.23 kB / 0.5151 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.1672, allocations: 56.11 kB / 0.5152 GB, free: 1.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=147): time 4.038e-06/0.1672, allocations: 0 / 0.5152 GB, free: 1.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=147): time 0.2117/0.3789, allocations: 6.928 MB / 0.5219 GB, free: 29.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.379, allocations: 119.7 kB / 0.522 GB, free: 29.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008747/0.3798, allocations: 0.6302 MB / 0.5226 GB, free: 29.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.38, allocations: 59.17 kB / 0.5227 GB, free: 29.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.3802, allocations: 333.6 kB / 0.523 GB, free: 29.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.3806, allocations: 0.5111 MB / 0.5235 GB, free: 28.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005015/0.3811, allocations: 274.4 kB / 0.5238 GB, free: 28.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.3812, allocations: 344.6 kB / 0.5241 GB, free: 28.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.3825, allocations: 0.8703 MB / 0.525 GB, free: 28.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.3838, allocations: 1.041 MB / 0.526 GB, free: 28.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00249/0.3863, allocations: 1.965 MB / 0.5279 GB, free: 27.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3863, allocations: 5.25 kB / 0.5279 GB, free: 27.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009273/0.3955, allocations: 3.752 MB / 0.5316 GB, free: 25.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.3956, allocations: 9.5 kB / 0.5316 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3956, allocations: 0 / 0.5316 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/0.4058, allocations: 3.544 MB / 0.535 GB, free: 25.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.4067, allocations: 228.5 kB / 0.5353 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/0.4255, allocations: 11 MB / 0.546 GB, free: 18.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.4266, allocations: 137.6 kB / 0.5461 GB, free: 18.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.4268, allocations: 59.77 kB / 0.5462 GB, free: 18.24 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.0003989/0.4272, allocations: 257.4 kB / 0.5464 GB, free: 18.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.4273, allocations: 112.4 kB / 0.5465 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008424/0.4358, allocations: 3.719 MB / 0.5502 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.4358, allocations: 23.98 kB / 0.5502 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.4358, allocations: 0 / 0.5502 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.4358, allocations: 7.969 kB / 0.5502 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009565/0.4454, allocations: 4.868 MB / 0.555 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4454, allocations: 0 / 0.555 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/0.4459, allocations: 183.8 kB / 0.5551 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009107/0.455, allocations: 2.726 MB / 0.5578 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.4551, allocations: 31.98 kB / 0.5578 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01899/0.4741, allocations: 10.82 MB / 0.5684 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4741, allocations: 0 / 0.5684 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009866/0.484, allocations: 3.599 MB / 0.5719 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.4843, allocations: 134.8 kB / 0.572 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.4845, allocations: 24 kB / 0.5721 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.4855, allocations: 93.7 kB / 0.5721 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004262/0.4859, allocations: 134.3 kB / 0.5723 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.486, allocations: 48 kB / 0.5723 GB, free: 7.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006501/0.4867, allocations: 431 kB / 0.5727 GB, free: 7.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4867, allocations: 0 / 0.5727 GB, free: 7.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001405/0.4881, allocations: 0.5271 MB / 0.5732 GB, free: 6.574 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.0103/0.4984, allocations: 4.202 MB / 0.5773 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007735/0.5061, allocations: 3.022 MB / 0.5803 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/0.5061, allocations: 8.656 kB / 0.5803 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005736/0.5118, allocations: 1.999 MB / 0.5823 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/0.5128, allocations: 150.9 kB / 0.5824 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03128/0.5441, allocations: 13.99 MB / 0.5961 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/0.5447, allocations: 495.8 kB / 0.5965 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005598/0.5453, allocations: 147.5 kB / 0.5967 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005887/0.5459, allocations: 403.3 kB / 0.5971 GB, free: 13.99 MB / 430.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5459, allocations: 0 / 0.5971 GB, free: 13.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09109/0.6369, allocations: 45.86 MB / 0.6419 GB, free: 460 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.24, allocations: 11.44 kB / 0.6419 GB, free: 452 kB / 462.1 MB " [Timeout remaining time 645] (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: 17.972790632862598] Failed to read output from testmodel.py, exit status != 0: 15.376898400019854 15.394284054 15.254797463 Calling exit ...