Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.001082/0.001082, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.001094/0.001094, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9395/0.9395, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.864/1.864, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.075e-05, allocations: 6.219 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003243/0.003273, allocations: 1.961 MB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.004558, allocations: 0.7011 MB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.004668, allocations: 7.938 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.004812, allocations: 15.8 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.004892, allocations: 23.8 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.005299, allocations: 107.7 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.00547, allocations: 147.6 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000427/0.005897, allocations: 72.92 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.006078, allocations: 91.73 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.006156, allocations: 47.86 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.006182, allocations: 15.94 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.006317, allocations: 63.94 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.688e-05/0.006404, allocations: 71.81 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.006457, allocations: 55.77 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.006745, allocations: 275 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.006749, allocations: 0 / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.753e-06/0.006751, allocations: 0 / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.006756, allocations: 0 / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006999/0.007456, allocations: 492.9 kB / 1.005 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.007502, allocations: 9.344 kB / 1.005 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.007548, allocations: 50.67 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.008595, allocations: 0.6479 MB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.008969, allocations: 268.9 kB / 1.006 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.009091, allocations: 139.6 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.009117, allocations: 12.38 kB / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.009705, allocations: 447.6 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.009716, allocations: 4.188 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.009737, allocations: 11.88 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.009747, allocations: 7.984 kB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000779/0.01053, allocations: 0.6405 MB / 1.007 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.012, allocations: 1.033 MB / 1.008 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.01249, allocations: 346.1 kB / 1.008 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.01287, allocations: 320.6 kB / 1.009 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.01289, allocations: 4 kB / 1.009 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.01292, allocations: 42.48 kB / 1.009 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 3.667e-06/0.01292, allocations: 0 / 1.009 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.001238/0.01416, allocations: 0.9691 MB / 1.01 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.0142, allocations: 51.41 kB / 1.01 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.01447, allocations: 309.8 kB / 1.01 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.01449, allocations: 25.7 kB / 1.01 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.01458, allocations: 148.2 kB / 1.01 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.01461, allocations: 23.8 kB / 1.01 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.01469, allocations: 73.62 kB / 1.01 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.01479, allocations: 330.8 kB / 1.01 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.01531, allocations: 315.6 kB / 1.011 GB, free: 2.988 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.01564, allocations: 311.6 kB / 1.011 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/0.01624, allocations: 0.5353 MB / 1.012 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01625, allocations: 0 / 1.012 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007442/0.01699, allocations: 0.6725 MB / 1.012 GB, free: 1.465 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.01701, allocations: 8 kB / 1.012 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01702, allocations: 0 / 1.012 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.01703, allocations: 0 / 1.012 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.01728, allocations: 167.6 kB / 1.012 GB, free: 1.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.01729, allocations: 3.938 kB / 1.012 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.01745, allocations: 115.7 kB / 1.012 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.916e-05/0.01755, allocations: 139.7 kB / 1.013 GB, free: 1.039 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.01767, allocations: 137.8 kB / 1.013 GB, free: 0.8945 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.01771, allocations: 27.8 kB / 1.013 GB, free: 0.8672 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.01774, allocations: 25.77 kB / 1.013 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01774, allocations: 0 / 1.013 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.01775, allocations: 0 / 1.013 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01775, allocations: 0 / 1.013 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.01807, allocations: 395.7 kB / 1.013 GB, free: 424 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01807, allocations: 0 / 1.013 GB, free: 424 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.01828, allocations: 167.6 kB / 1.013 GB, free: 256 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.01828, allocations: 3.984 kB / 1.013 GB, free: 252 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.01831, allocations: 23.97 kB / 1.013 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01831, allocations: 0 / 1.013 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01831, allocations: 0 / 1.013 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000898/0.01921, allocations: 0.7647 MB / 1.014 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.01924, allocations: 35.78 kB / 1.014 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.01927, allocations: 0 / 1.014 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.01946, allocations: 111.8 kB / 1.014 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.0195, allocations: 7.984 kB / 1.014 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.396e-05/0.0196, allocations: 147.7 kB / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001577/0.01975, allocations: 217.2 kB / 1.015 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.01975, allocations: 0 / 1.015 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002342/0.01999, allocations: 31.95 kB / 1.015 GB, free: 14.89 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0011/0.02109, allocations: 1.32 MB / 1.016 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008112/0.0219, allocations: 0.6398 MB / 1.017 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.0219, allocations: 4 kB / 1.017 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.02225, allocations: 339.5 kB / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.02248, allocations: 12.5 kB / 1.017 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.02661, allocations: 4.233 MB / 1.021 GB, free: 8.25 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.02671, allocations: 144.6 kB / 1.021 GB, free: 8.09 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000324/0.02703, allocations: 384.8 kB / 1.022 GB, free: 7.715 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.02718, allocations: 120.4 kB / 1.022 GB, free: 7.594 MB / 0.9792 GB Notification: Performance of SimCode: time 1.753e-06/0.02718, allocations: 0 / 1.022 GB, free: 7.594 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08756/0.1147, allocations: 5.905 MB / 1.027 GB, free: 1.848 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/7.725, allocations: 15.47 kB / 1.027 GB, free: 1.836 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_fmpy_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 ../Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.42726324684918]