Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.0008081/0.0008081, allocations: 88.33 kB / 20.96 MB, free: 3.469 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.0008096/0.0008096, allocations: 161.3 kB / 24.27 MB, free: 164 kB / 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.8549/0.8549, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2156/0.2156, allocations: 29.42 MB / 290.5 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 368.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164e-05/1.291e-05, allocations: 2.312 kB / 368.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005319/0.005332, allocations: 7.102 MB / 375.5 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.008979, allocations: 3.859 MB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.009324, allocations: 15.94 kB / 379.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.01073, allocations: 1.019 MB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.01247, allocations: 1.124 MB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.01301, allocations: 326.7 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.01415, allocations: 1.39 MB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005663/0.01472, allocations: 403.9 kB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009122/0.01563, allocations: 0.7318 MB / 384.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007924/0.01642, allocations: 0.5997 MB / 385 MB, free: 11.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.01647, allocations: 36 kB / 385 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.01755, allocations: 0.8017 MB / 385.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.0178, allocations: 307.1 kB / 386.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.01795, allocations: 175.6 kB / 386.3 MB, free: 9.852 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009363/0.01889, allocations: 0.8412 MB / 387.1 MB, free: 9.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.01889, allocations: 7.938 kB / 387.1 MB, free: 9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01889, allocations: 0 / 387.1 MB, free: 9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.0189, allocations: 0 / 387.1 MB, free: 9 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001088/0.01999, allocations: 0.7274 MB / 387.8 MB, free: 8.238 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.02004, allocations: 11.98 kB / 387.9 MB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.811e-05/0.02012, allocations: 86.64 kB / 387.9 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.0212, allocations: 335 kB / 388.3 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000562/0.02176, allocations: 284.5 kB / 388.5 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.02178, allocations: 33.36 kB / 388.6 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.02182, allocations: 32.38 kB / 388.6 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.02233, allocations: 0.5793 MB / 389.2 MB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.02235, allocations: 8.125 kB / 389.2 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.02237, allocations: 24.11 kB / 389.2 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/0.02242, allocations: 36.62 kB / 389.3 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.02279, allocations: 386.1 kB / 389.6 MB, free: 6.348 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.02465, allocations: 2.47 MB / 392.1 MB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.02508, allocations: 411.6 kB / 392.5 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.02526, allocations: 197.6 kB / 392.7 MB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.02527, allocations: 12 kB / 392.7 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.02529, allocations: 42.5 kB / 392.8 MB, free: 3.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.02529, allocations: 0 / 392.8 MB, free: 3.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001161/0.02645, allocations: 0.6818 MB / 393.4 MB, free: 2.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.02652, allocations: 110.8 kB / 393.5 MB, free: 2.242 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.02683, allocations: 332.5 kB / 393.9 MB, free: 1.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.02686, allocations: 33.7 kB / 393.9 MB, free: 1.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.02701, allocations: 256.3 kB / 394.1 MB, free: 1.613 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.859e-05/0.0271, allocations: 119 kB / 394.3 MB, free: 1.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.0272, allocations: 82.41 kB / 394.3 MB, free: 1.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.02731, allocations: 346.8 kB / 394.7 MB, free: 1.062 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.02751, allocations: 128.9 kB / 394.8 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.02778, allocations: 284 kB / 395.1 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/0.02829, allocations: 452.1 kB / 395.5 MB, free: 80 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.0283, allocations: 4 kB / 395.5 MB, free: 76 kB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008529/0.02915, allocations: 0.5815 MB / 396.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.02917, allocations: 8 kB / 396.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.02918, allocations: 4 kB / 396.1 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/0.02947, allocations: 125.2 kB / 396.2 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.02965, allocations: 71.91 kB / 396.3 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003226/0.03288, allocations: 2.401 MB / 398.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.033, allocations: 39.67 kB / 398.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.03302, allocations: 20 kB / 398.8 MB, free: 12.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.03316, allocations: 205.5 kB / 399 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.03321, allocations: 51.75 kB / 399 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.03325, allocations: 47.95 kB / 399.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.03326, allocations: 4 kB / 399.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.03326, allocations: 8.062 kB / 399.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.03327, allocations: 0 / 399.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008025/0.03407, allocations: 0.8783 MB / 400 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.03407, allocations: 4 kB / 400 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/0.03415, allocations: 35.92 kB / 400 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00018/0.03433, allocations: 121 kB / 400.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.03435, allocations: 8 kB / 400.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.03594, allocations: 2.375 MB / 402.5 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.03595, allocations: 7.969 kB / 402.5 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.03646, allocations: 0.6466 MB / 403.2 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.0365, allocations: 43.64 kB / 403.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.03653, allocations: 11.98 kB / 403.2 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.351e-05/0.03662, allocations: 4 kB / 403.2 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.03667, allocations: 31.89 kB / 403.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.03668, allocations: 4 kB / 403.3 MB, free: 8.016 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001433/0.03682, allocations: 227 kB / 403.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03682, allocations: 0 / 403.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004074/0.03723, allocations: 155.8 kB / 403.6 MB, free: 7.645 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006834/0.03791, allocations: 1.164 MB / 404.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008843/0.0388, allocations: 0.5034 MB / 405.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.0388, allocations: 4 kB / 405.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.03906, allocations: 333.8 kB / 405.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.03943, allocations: 61.78 kB / 405.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.04337, allocations: 4.008 MB / 409.7 MB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.04368, allocations: 284.5 kB / 410 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000179/0.04386, allocations: 70.91 kB / 410 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.04402, allocations: 116.4 kB / 410.2 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.04402, allocations: 4 kB / 410.2 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.06611, allocations: 8.801 MB / 419 MB, free: 8.137 MB / 394.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.254, allocations: 10.69 kB / 419 MB, free: 8.129 MB / 394.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.117843773041386]