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.001141/0.001141, allocations: 72.55 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.001131/0.001131, 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.9463/0.9463, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.02643/0.02643, allocations: 4.476 MB / 264.5 MB, free: 8.754 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 1.974e-06/1.974e-06, allocations: 0 / 389.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.075e-05, allocations: 9.031 kB / 389.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.005895/0.005926, allocations: 4.928 MB / 394.6 MB, free: 2.422 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.009038, allocations: 2.295 MB / 396.9 MB, free: 112 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004085/0.009446, allocations: 16 kB / 396.9 MB, free: 96 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.01002, allocations: 321.6 kB / 397.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.01109, allocations: 0.609 MB / 397.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.01282, allocations: 1.344 MB / 399.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.01412, allocations: 1.314 MB / 400.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.01446, allocations: 265.6 kB / 400.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006973/0.01516, allocations: 0.756 MB / 401.5 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005556/0.01571, allocations: 0.5297 MB / 402 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.01583, allocations: 104 kB / 402.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005431/0.01638, allocations: 335.5 kB / 402.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.01651, allocations: 270.9 kB / 402.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.01681, allocations: 418.8 kB / 403.1 MB, free: 9.836 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.01793, allocations: 1.445 MB / 404.5 MB, free: 8.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.01794, allocations: 0 / 404.5 MB, free: 8.387 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01794, allocations: 0 / 404.5 MB, free: 8.387 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.01796, allocations: 0 / 404.5 MB, free: 8.387 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.006425/0.02439, allocations: 3.086 MB / 407.6 MB, free: 5.262 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.02443, allocations: 8.031 kB / 407.6 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.02458, allocations: 135.2 kB / 407.8 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.0248, allocations: 140.1 kB / 407.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007567/0.02556, allocations: 0.6109 MB / 408.5 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.0256, allocations: 74.38 kB / 408.6 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.02571, allocations: 96.38 kB / 408.7 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.02725, allocations: 2.101 MB / 410.8 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.02727, allocations: 192 / 410.8 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.288e-05/0.02734, allocations: 44.06 kB / 410.8 MB, free: 1.836 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.02735, allocations: 20 kB / 410.8 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.02863, allocations: 1.316 MB / 412.2 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.157/0.1856, allocations: 3.068 MB / 415.2 MB, free: 32.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.1872, allocations: 1.665 MB / 416.9 MB, free: 31.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/0.1879, allocations: 0.8454 MB / 417.7 MB, free: 31.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.1881, allocations: 27.52 kB / 417.8 MB, free: 31.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.1881, allocations: 54.02 kB / 417.8 MB, free: 31.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=147): time 3.356e-06/0.1881, allocations: 1.375 kB / 417.8 MB, free: 31.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=147): time 0.01571/0.2038, allocations: 6.938 MB / 424.8 MB, free: 29.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.2038, allocations: 119.9 kB / 424.9 MB, free: 29.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006561/0.2045, allocations: 0.6207 MB / 425.5 MB, free: 28.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002344/0.2047, allocations: 63.83 kB / 425.6 MB, free: 28.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.2049, allocations: 335.4 kB / 425.9 MB, free: 28.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/0.2052, allocations: 0.5037 MB / 426.4 MB, free: 28.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/0.2056, allocations: 276.8 kB / 426.7 MB, free: 28.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.09e-05/0.2056, allocations: 343.3 kB / 427 MB, free: 27.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008973/0.2065, allocations: 0.8682 MB / 427.9 MB, free: 27.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.2075, allocations: 1.042 MB / 428.9 MB, free: 26.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002037/0.2096, allocations: 1.967 MB / 430.9 MB, free: 25.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.2096, allocations: 0 / 430.9 MB, free: 25.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00523/0.2148, allocations: 3.753 MB / 434.6 MB, free: 23.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.2148, allocations: 3.906 kB / 434.6 MB, free: 23.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.2148, allocations: 0 / 434.6 MB, free: 23.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005075/0.2199, allocations: 3.554 MB / 438.2 MB, free: 20.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/0.2204, allocations: 227.6 kB / 438.4 MB, free: 20.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.2315, allocations: 10.99 MB / 449.4 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007777/0.2323, allocations: 139.6 kB / 449.5 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/0.2324, allocations: 55.98 kB / 449.6 MB, free: 8.945 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.0003542/0.2327, allocations: 269.6 kB / 449.9 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.2329, allocations: 111.3 kB / 450 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004795/0.2377, allocations: 3.716 MB / 453.7 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.2377, allocations: 16 kB / 453.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2377, allocations: 0 / 453.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.2377, allocations: 11.97 kB / 453.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006017/0.2437, allocations: 4.879 MB / 458.6 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.2437, allocations: 0 / 458.6 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.2441, allocations: 179.7 kB / 458.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005211/0.2493, allocations: 2.724 MB / 461.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.2494, allocations: 32 kB / 461.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01349/0.2629, allocations: 10.81 MB / 472.3 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2629, allocations: 0 / 472.3 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005647/0.2685, allocations: 3.609 MB / 475.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.2688, allocations: 126.9 kB / 476.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.2689, allocations: 28 kB / 476.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.2695, allocations: 95.33 kB / 476.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/0.2698, allocations: 130.4 kB / 476.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.926e-05/0.2699, allocations: 51.92 kB / 476.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004135/0.2703, allocations: 431 kB / 476.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2703, allocations: 0 / 476.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001438/0.2717, allocations: 0.531 MB / 477.3 MB, free: 13.07 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.005607/0.2773, allocations: 4.189 MB / 481.5 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004739/0.2821, allocations: 3.022 MB / 484.5 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.2821, allocations: 4.656 kB / 484.5 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003079/0.2852, allocations: 1.988 MB / 486.5 MB, free: 3.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007424/0.2859, allocations: 154.8 kB / 486.7 MB, free: 3.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/0.3044, allocations: 14.05 MB / 0.489 GB, free: 5.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.3048, allocations: 495.8 kB / 0.4895 GB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003582/0.3051, allocations: 147.2 kB / 0.4896 GB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.3055, allocations: 404.4 kB / 0.49 GB, free: 4.441 MB / 378.7 MB Notification: Performance of SimCode: time 1.113e-06/0.3055, allocations: 0 / 0.49 GB, free: 4.441 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06108/0.3666, allocations: 46.05 MB / 0.5349 GB, free: 6.688 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.855/9.222, allocations: 7.078 kB / 0.535 GB, free: 6.684 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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.13811782002449] Failed to read output from testmodel.py, exit status != 0: 9.336555236950517 9.348292356 9.328404988 Calling exit ...