Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.001207/0.001207, allocations: 80.55 kB / 19.96 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.001235/0.001235, allocations: 177.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 1.05/1.05, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.847/1.847, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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.QStar,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.2e-05, allocations: 5.797 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002089/0.002111, allocations: 1.596 MB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003229, allocations: 0.6038 MB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.003292, allocations: 7.938 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.704e-05/0.003339, allocations: 7.922 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/0.003422, allocations: 7.875 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.003765, allocations: 71.73 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.003882, allocations: 55.77 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.003984, allocations: 8 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.00412, allocations: 35.84 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.00417, allocations: 19.97 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.004187, allocations: 4 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.00431, allocations: 51.94 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.004371, allocations: 19.92 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.004402, allocations: 15.92 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.004575, allocations: 107.7 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004579, allocations: 0 / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00458, allocations: 3.938 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.004585, allocations: 0 / 1.003 GB, free: 10.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005502/0.005135, allocations: 333.7 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.005176, allocations: 9.344 kB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.005211, allocations: 34.75 kB / 1.004 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000601/0.005812, allocations: 332.2 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.00601, allocations: 158.2 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/0.006076, allocations: 67.94 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.006089, allocations: 4.375 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.006366, allocations: 213.5 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.006373, allocations: 0 / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.006384, allocations: 0 / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.00639, allocations: 4 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.006712, allocations: 291.6 kB / 1.005 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.007323, allocations: 0.5226 MB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.007674, allocations: 290.2 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.007851, allocations: 144.7 kB / 1.006 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.007867, allocations: 0 / 1.006 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.007891, allocations: 34.56 kB / 1.006 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.007892, allocations: 4 kB / 1.006 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0006288/0.00852, allocations: 465 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.008555, allocations: 55.41 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.008689, allocations: 168.9 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.008706, allocations: 25.7 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.008773, allocations: 100.1 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.0088, allocations: 11.88 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.008852, allocations: 37.69 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.355e-05/0.008945, allocations: 330.8 kB / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.009112, allocations: 143.7 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.009265, allocations: 139.9 kB / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.009557, allocations: 256.5 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009559, allocations: 0 / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003676/0.009926, allocations: 317.2 kB / 1.008 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.009941, allocations: 8 kB / 1.008 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.009947, allocations: 4 kB / 1.008 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.009958, allocations: 0 / 1.008 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.01009, allocations: 79.83 kB / 1.008 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.0101, allocations: 0 / 1.008 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.01018, allocations: 59.89 kB / 1.008 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.01024, allocations: 75.77 kB / 1.008 GB, free: 6.055 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.023e-05/0.01032, allocations: 113.8 kB / 1.008 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.01034, allocations: 7.953 kB / 1.008 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.01036, allocations: 19.95 kB / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01037, allocations: 0 / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01037, allocations: 0 / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.01037, allocations: 4 kB / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.01057, allocations: 220.5 kB / 1.008 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01057, allocations: 0 / 1.008 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.01068, allocations: 75.81 kB / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.01068, allocations: 4 kB / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.0107, allocations: 11.98 kB / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.0107, allocations: 0 / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0107, allocations: 0 / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.01112, allocations: 423 kB / 1.009 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.01114, allocations: 7.953 kB / 1.009 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.01116, allocations: 3.938 kB / 1.009 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.01125, allocations: 51.92 kB / 1.009 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.01128, allocations: 4 kB / 1.009 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.01133, allocations: 71.86 kB / 1.009 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.062e-05/0.0114, allocations: 133.2 kB / 1.009 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0114, allocations: 0 / 1.009 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001843/0.01159, allocations: 15.94 kB / 1.009 GB, free: 4.844 MB / 0.9636 GB 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 (2): * Single equations (assignments): 2 * 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.0008836/0.01247, allocations: 0.9465 MB / 1.01 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003766/0.01285, allocations: 295.6 kB / 1.01 GB, free: 3.582 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01285, allocations: 3.938 kB / 1.01 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.013, allocations: 143.9 kB / 1.01 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.01318, allocations: 13.41 kB / 1.01 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.01536, allocations: 2.493 MB / 1.013 GB, free: 0.8477 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.021e-05/0.01542, allocations: 83.45 kB / 1.013 GB, free: 0.7422 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.01558, allocations: 199.5 kB / 1.013 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.01566, allocations: 48.45 kB / 1.013 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of SimCode: time 1.202e-06/0.01566, allocations: 0 / 1.013 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1324/0.1481, allocations: 3.385 MB / 1.016 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.642, allocations: 5.781 kB / 1.016 GB, free: 13.25 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_fmpy_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 ../Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.397828466258943]