Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002337/0.002337, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002487/0.002487, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.921/2.921, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 67.89 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 168.7 MB / 1.272 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02597/1.048, allocations: 23.63 MB / 1.295 GB, free: 6.938 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01025/1.058, allocations: 5.144 MB / 1.3 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/1.059, allocations: 26.28 kB / 1.3 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/1.06, allocations: 288.9 kB / 1.3 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002893/1.063, allocations: 0.828 MB / 1.301 GB, free: 2.613 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002466/1.066, allocations: 0.7693 MB / 1.301 GB, free: 2.207 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002796/1.069, allocations: 1.636 MB / 1.303 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008138/1.069, allocations: 388.2 kB / 1.303 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/1.071, allocations: 0.6346 MB / 1.304 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008112/1.072, allocations: 472.1 kB / 1.305 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/1.072, allocations: 46.38 kB / 1.305 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/1.074, allocations: 0.4923 MB / 1.305 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001892/1.074, allocations: 145.8 kB / 1.305 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003718/1.075, allocations: 311.9 kB / 1.305 GB, free: 336 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/1.076, allocations: 0.9225 MB / 1.306 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.076, allocations: 0.6562 kB / 1.306 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.894e-06/1.076, allocations: 0 / 1.306 GB, free: 15.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.153e-05/1.076, allocations: 4.938 kB / 1.306 GB, free: 15.98 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001701/1.078, allocations: 0.9061 MB / 1.307 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.078, allocations: 9.594 kB / 1.307 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/1.078, allocations: 76.53 kB / 1.307 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/1.079, allocations: 72.62 kB / 1.307 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/1.08, allocations: 0.5801 MB / 1.308 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/1.08, allocations: 29.97 kB / 1.308 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/1.08, allocations: 45.3 kB / 1.308 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007922/1.081, allocations: 440.5 kB / 1.308 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/1.081, allocations: 0 / 1.308 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/1.081, allocations: 17.34 kB / 1.309 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/1.081, allocations: 9.953 kB / 1.309 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/1.081, allocations: 303.9 kB / 1.309 GB, free: 14.44 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/1.084, allocations: 1.908 MB / 1.311 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/1.085, allocations: 244.9 kB / 1.311 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/1.085, allocations: 111.4 kB / 1.311 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/1.086, allocations: 0.8544 MB / 1.312 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/1.086, allocations: 33.56 kB / 1.312 GB, free: 11.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/1.086, allocations: 0 / 1.312 GB, free: 11.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=26): time 0.0008503/1.087, allocations: 380.7 kB / 1.312 GB, free: 11.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/1.087, allocations: 53.91 kB / 1.312 GB, free: 11.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006887/1.088, allocations: 481.1 kB / 1.313 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/1.088, allocations: 30.86 kB / 1.313 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/1.088, allocations: 269.7 kB / 1.313 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/1.088, allocations: 98.89 kB / 1.313 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/1.088, allocations: 73.92 kB / 1.313 GB, free: 11.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002403/1.089, allocations: 357.6 kB / 1.314 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/1.089, allocations: 97.45 kB / 1.314 GB, free: 10.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/1.089, allocations: 172.9 kB / 1.314 GB, free: 10.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/1.09, allocations: 287.5 kB / 1.314 GB, free: 10.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.09, allocations: 1.188 kB / 1.314 GB, free: 10.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007207/1.09, allocations: 361.8 kB / 1.314 GB, free: 10.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.09, allocations: 6.125 kB / 1.314 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.09, allocations: 5.312 kB / 1.314 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.09, allocations: 9 kB / 1.314 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/1.091, allocations: 78.16 kB / 1.315 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/1.091, allocations: 3.625 kB / 1.315 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/1.091, allocations: 36.34 kB / 1.315 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/1.091, allocations: 15.89 kB / 1.315 GB, free: 10.27 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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.0002789/1.091, allocations: 180.5 kB / 1.315 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.092, allocations: 52.02 kB / 1.315 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009883/1.092, allocations: 482.1 kB / 1.315 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/1.093, allocations: 9.781 kB / 1.315 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.093, allocations: 0 / 1.315 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006994/1.093, allocations: 0.5652 MB / 1.316 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/1.095, allocations: 1.151 MB / 1.317 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.095, allocations: 1.156 kB / 1.317 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/1.096, allocations: 55.48 kB / 1.317 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/1.096, allocations: 6.75 kB / 1.317 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/1.096, allocations: 9.922 kB / 1.317 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/1.096, allocations: 7.984 kB / 1.317 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.096, allocations: 2.188 kB / 1.317 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/1.097, allocations: 0.6763 MB / 1.318 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/1.097, allocations: 180.9 kB / 1.318 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-05/1.097, allocations: 7.062 kB / 1.318 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/1.098, allocations: 11.8 kB / 1.318 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/1.098, allocations: 32.64 kB / 1.318 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/1.098, allocations: 17.3 kB / 1.318 GB, free: 8.121 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005451/1.098, allocations: 344.3 kB / 1.318 GB, free: 7.961 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.098, allocations: 3.938 kB / 1.318 GB, free: 7.957 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009403/1.099, allocations: 198.8 kB / 1.318 GB, free: 7.914 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002228/1.101, allocations: 1.398 MB / 1.32 GB, free: 6.934 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000656/1.102, allocations: 278.1 kB / 1.32 GB, free: 6.848 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.102, allocations: 0 / 1.32 GB, free: 6.848 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000271/1.102, allocations: 145.8 kB / 1.32 GB, free: 6.805 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/1.104, allocations: 338.4 kB / 1.321 GB, free: 6.695 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006775/1.111, allocations: 4.23 MB / 1.325 GB, free: 4.129 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/1.111, allocations: 0.8664 MB / 1.326 GB, free: 3.414 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005663/1.112, allocations: 122.8 kB / 1.326 GB, free: 3.379 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/1.112, allocations: 198.3 kB / 1.326 GB, free: 3.242 MB / 1.029 GB Notification: Performance of SimCode: time 9.52e-07/1.112, allocations: 0 / 1.326 GB, free: 3.242 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07735/1.19, allocations: 17.1 MB / 1.343 GB, free: 14.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.06/10.25, allocations: 2.656 kB / 1.343 GB, free: 14.95 MB / 1.045 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.551604777021566] Failed to read output from testmodel.py, exit status != 0: 10.333882648992585 10.357229861 9.276171457 Calling exit ...