Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.000723/0.000723, allocations: 84.45 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.0008566/0.0008566, allocations: 169.2 kB / 23.24 MB, free: 1.32 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.9948/0.9948, 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/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.915/1.915, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 177] 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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.644e-05, allocations: 5.938 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003136/0.003163, allocations: 1.845 MB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004418/0.007581, allocations: 3.46 MB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.007867, allocations: 4 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.009065, allocations: 186.6 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.009352, allocations: 75.45 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.009509, allocations: 63.78 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.01004, allocations: 287 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.01016, allocations: 17.8 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.01032, allocations: 99.77 kB / 1.007 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.01046, allocations: 67.8 kB / 1.007 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.01048, allocations: 4 kB / 1.007 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.01058, allocations: 39.86 kB / 1.007 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.01066, allocations: 51.84 kB / 1.007 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.593e-05/0.01074, allocations: 63.78 kB / 1.007 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.01103, allocations: 199.2 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.01103, allocations: 0 / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.663e-06/0.01103, allocations: 0 / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.01104, allocations: 0 / 1.007 GB, free: 7.023 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008313/0.01187, allocations: 476.7 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.01192, allocations: 17.34 kB / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.226e-05/0.01197, allocations: 38.75 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006825/0.01266, allocations: 120.6 kB / 1.008 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.01322, allocations: 217.8 kB / 1.008 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.01324, allocations: 4.375 kB / 1.008 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.01327, allocations: 4.375 kB / 1.008 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.01363, allocations: 154.1 kB / 1.008 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01364, allocations: 192 / 1.008 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.01367, allocations: 7.922 kB / 1.008 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.0137, allocations: 11.98 kB / 1.008 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.01408, allocations: 159.9 kB / 1.008 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.01479, allocations: 423.6 kB / 1.009 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.0152, allocations: 174.5 kB / 1.009 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.01543, allocations: 100.8 kB / 1.009 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.01546, allocations: 4 kB / 1.009 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.01549, allocations: 38.55 kB / 1.009 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 2.955e-06/0.01549, allocations: 0 / 1.009 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0008049/0.0163, allocations: 321.5 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.01634, allocations: 59.34 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.01657, allocations: 252.2 kB / 1.009 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.0166, allocations: 25.7 kB / 1.009 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.01669, allocations: 148.1 kB / 1.01 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.01674, allocations: 47.56 kB / 1.01 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.01681, allocations: 33.7 kB / 1.01 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.01694, allocations: 342.8 kB / 1.01 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.01714, allocations: 79.92 kB / 1.01 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.01732, allocations: 79.94 kB / 1.01 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.01772, allocations: 184.7 kB / 1.01 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01772, allocations: 0 / 1.01 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000494/0.01821, allocations: 239.3 kB / 1.011 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.01824, allocations: 4 kB / 1.011 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.01824, allocations: 4 kB / 1.011 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.01826, allocations: 0 / 1.011 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.01848, allocations: 35.95 kB / 1.011 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.01849, allocations: 4 kB / 1.011 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.01863, allocations: 23.88 kB / 1.011 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.01865, allocations: 4 kB / 1.011 GB, free: 3.074 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 (13): * Single equations (assignments): 13 * 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.000134/0.01878, allocations: 141.7 kB / 1.011 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.01883, allocations: 27.86 kB / 1.011 GB, free: 2.898 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.01889, allocations: 33.8 kB / 1.011 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01889, allocations: 0 / 1.011 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.0189, allocations: 0 / 1.011 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.0189, allocations: 0 / 1.011 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.01919, allocations: 240.5 kB / 1.011 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01919, allocations: 0 / 1.011 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.01936, allocations: 35.95 kB / 1.011 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.01937, allocations: 4 kB / 1.011 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.01938, allocations: 4 kB / 1.011 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01939, allocations: 4 kB / 1.011 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01939, allocations: 0 / 1.011 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.01991, allocations: 347.1 kB / 1.011 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.493e-05/0.01999, allocations: 39.72 kB / 1.011 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.02002, allocations: 0 / 1.011 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.02018, allocations: 19.98 kB / 1.011 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.02024, allocations: 11.97 kB / 1.011 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.02026, allocations: 8 kB / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001474/0.02041, allocations: 183.1 kB / 1.012 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.02041, allocations: 0 / 1.012 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002797/0.02069, allocations: 39.95 kB / 1.012 GB, free: 1.887 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 (13): * Single equations (assignments): 13 * 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.0007854/0.02147, allocations: 0.8784 MB / 1.013 GB, free: 0.9844 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.02193, allocations: 183.8 kB / 1.013 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02193, allocations: 0 / 1.013 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.02214, allocations: 99.86 kB / 1.013 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.0226, allocations: 63.84 kB / 1.013 GB, free: 0.6445 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.02562, allocations: 2.467 MB / 1.015 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.041e-05/0.02571, allocations: 136.1 kB / 1.015 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.02589, allocations: 65.44 kB / 1.015 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.02598, allocations: 64.47 kB / 1.016 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of SimCode: time 1.453e-06/0.02598, allocations: 0 / 1.016 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09298/0.119, allocations: 5.956 MB / 1.021 GB, free: 8.082 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/7.45, allocations: 4.5 kB / 1.021 GB, free: 8.082 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu) > Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_fmpy_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ../Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu) > Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.210512838326395]