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.0009511/0.0009511, allocations: 80.53 kB / 19.96 MB, free: 4.598 MB / 18.57 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.001047/0.001047, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9492/0.9492, allocations: 177.1 MB / 203.6 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.02588/0.02588, allocations: 4.468 MB / 264.4 MB, free: 8.773 MB / 250.7 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 2.224e-06/2.224e-06, allocations: 0 / 389.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.893e-05, allocations: 4.953 kB / 389.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.00634/0.006369, allocations: 4.936 MB / 394.6 MB, free: 2.441 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003712/0.01008, allocations: 2.299 MB / 396.9 MB, free: 128 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006559/0.01074, allocations: 16 kB / 396.9 MB, free: 112 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007486/0.01149, allocations: 321.8 kB / 397.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.0128, allocations: 0.605 MB / 397.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.0148, allocations: 1.348 MB / 399.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.01624, allocations: 1.314 MB / 400.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.01664, allocations: 257.6 kB / 400.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009047/0.01755, allocations: 0.756 MB / 401.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000763/0.01831, allocations: 0.5336 MB / 402 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.01848, allocations: 104 kB / 402.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007552/0.01924, allocations: 335.5 kB / 402.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.01937, allocations: 262.9 kB / 402.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.01967, allocations: 426.8 kB / 403.1 MB, free: 9.855 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.02092, allocations: 1.441 MB / 404.5 MB, free: 8.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.02093, allocations: 4 kB / 404.5 MB, free: 8.406 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.02093, allocations: 0 / 404.5 MB, free: 8.406 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.02095, allocations: 0 / 404.5 MB, free: 8.406 MB / 330.7 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.006516/0.02747, allocations: 3.086 MB / 407.6 MB, free: 5.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.02751, allocations: 8.031 kB / 407.6 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.02765, allocations: 131.2 kB / 407.8 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.02784, allocations: 136.1 kB / 407.9 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.02857, allocations: 0.6227 MB / 408.5 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.02861, allocations: 70.38 kB / 408.6 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.02872, allocations: 100.4 kB / 408.7 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.03033, allocations: 2.101 MB / 410.8 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.03034, allocations: 192 / 410.8 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.421e-05/0.03041, allocations: 44.12 kB / 410.8 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.03043, allocations: 23.98 kB / 410.9 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.03182, allocations: 1.312 MB / 412.2 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1665/0.1983, allocations: 3.065 MB / 415.2 MB, free: 32.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.2001, allocations: 1.662 MB / 416.9 MB, free: 31.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008566/0.2009, allocations: 0.8463 MB / 417.7 MB, free: 31.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.201, allocations: 27.92 kB / 417.8 MB, free: 31.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.2011, allocations: 52.83 kB / 417.8 MB, free: 31.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=147): time 3.406e-06/0.2011, allocations: 1.094 kB / 417.8 MB, free: 31.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=147): time 0.01617/0.2172, allocations: 6.938 MB / 424.8 MB, free: 29.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.2173, allocations: 119.8 kB / 424.9 MB, free: 29.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006837/0.218, allocations: 0.6279 MB / 425.5 MB, free: 28.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.2182, allocations: 60.2 kB / 425.6 MB, free: 28.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.2183, allocations: 327.5 kB / 425.9 MB, free: 28.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.2186, allocations: 0.5006 MB / 426.4 MB, free: 28.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003291/0.2189, allocations: 278 kB / 426.7 MB, free: 28.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.219, allocations: 344 kB / 427 MB, free: 27.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000901/0.2199, allocations: 0.8722 MB / 427.9 MB, free: 27.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.2209, allocations: 1.04 MB / 428.9 MB, free: 26.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/0.2231, allocations: 1.967 MB / 430.9 MB, free: 25.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.2231, allocations: 2.281 kB / 430.9 MB, free: 25.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005373/0.2284, allocations: 3.753 MB / 434.6 MB, free: 23.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.2285, allocations: 3.938 kB / 434.6 MB, free: 23.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2285, allocations: 0 / 434.6 MB, free: 23.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005329/0.2338, allocations: 3.552 MB / 438.2 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.2344, allocations: 235.6 kB / 438.4 MB, free: 20.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/0.2461, allocations: 10.99 MB / 449.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009409/0.247, allocations: 143.8 kB / 449.5 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/0.2471, allocations: 51.98 kB / 449.6 MB, free: 9.004 MB / 330.7 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.0003689/0.2474, allocations: 269.6 kB / 449.9 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.2476, allocations: 111.3 kB / 450 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004769/0.2523, allocations: 3.717 MB / 453.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.2523, allocations: 16 kB / 453.7 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.2524, allocations: 0 / 453.7 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.2524, allocations: 15.97 kB / 453.7 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005763/0.2581, allocations: 4.877 MB / 458.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.2581, allocations: 0 / 458.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.2584, allocations: 179.7 kB / 458.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005556/0.264, allocations: 2.724 MB / 461.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/0.2642, allocations: 36 kB / 461.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/0.2787, allocations: 10.81 MB / 472.3 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2787, allocations: 0 / 472.3 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005751/0.2844, allocations: 3.602 MB / 475.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.2847, allocations: 133.4 kB / 476.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.2848, allocations: 28 kB / 476.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.2854, allocations: 92.7 kB / 476.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/0.2858, allocations: 130.4 kB / 476.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/0.2859, allocations: 59.91 kB / 476.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004537/0.2863, allocations: 423 kB / 476.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2863, allocations: 4 kB / 476.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001225/0.2876, allocations: 0.5232 MB / 477.3 MB, free: 13.13 MB / 362.7 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.008003/0.2956, allocations: 4.205 MB / 481.5 MB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005123/0.3007, allocations: 3.015 MB / 484.5 MB, free: 5.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.3007, allocations: 4.656 kB / 484.5 MB, free: 5.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003317/0.304, allocations: 1.98 MB / 486.5 MB, free: 3.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007131/0.3047, allocations: 154.8 kB / 486.7 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/0.3248, allocations: 14.06 MB / 0.489 GB, free: 5.555 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/0.3255, allocations: 495.8 kB / 0.4895 GB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004891/0.326, allocations: 143.5 kB / 0.4896 GB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.3263, allocations: 404.4 kB / 0.49 GB, free: 4.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3263, allocations: 0 / 0.49 GB, free: 4.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05815/0.3845, allocations: 46.04 MB / 0.5349 GB, free: 6.746 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.734/9.118, allocations: 11.14 kB / 0.535 GB, free: 6.738 MB / 426.7 MB " [Timeout remaining time 651] (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: 10.986048331484199] Failed to read output from testmodel.py, exit status != 0: 9.23005853407085 9.23929808 9.214860838 Calling exit ...