Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007998/0.0007999, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00528/0.00528, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005826/0.0005827, allocations: 14.88 kB / 0.6744 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2423, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.654/0.8964, allocations: 163.1 MB / 0.9473 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006315/0.9027, allocations: 6.466 MB / 0.9536 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003686/0.9031, allocations: 10.66 kB / 0.9536 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.9037, allocations: 136.5 kB / 0.9538 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.9056, allocations: 0.7892 MB / 0.9545 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008361/0.9065, allocations: 297.8 kB / 0.9548 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.9076, allocations: 1.012 MB / 0.9558 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.908, allocations: 227.6 kB / 0.956 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.909, allocations: 0.5013 MB / 0.9565 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.9094, allocations: 273.2 kB / 0.9568 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.9094, allocations: 16.25 kB / 0.9568 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006155/0.9101, allocations: 387.6 kB / 0.9572 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.9102, allocations: 103.1 kB / 0.9573 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.9104, allocations: 173.1 kB / 0.9574 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.9109, allocations: 483.6 kB / 0.9579 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.9109, allocations: 0 / 0.9579 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9109, allocations: 4 kB / 0.9579 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.9109, allocations: 0 / 0.9579 GB, free: 15.3 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007537/0.9117, allocations: 0.5581 MB / 0.9584 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.9117, allocations: 9.094 kB / 0.9584 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.27e-05/0.9118, allocations: 68.12 kB / 0.9585 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.9121, allocations: 63.95 kB / 0.9586 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.9125, allocations: 307 kB / 0.9589 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.9125, allocations: 18.25 kB / 0.9589 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.9125, allocations: 28.62 kB / 0.9589 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.9131, allocations: 321.8 kB / 0.9592 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.9131, allocations: 1.219 kB / 0.9592 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.9131, allocations: 10.03 kB / 0.9592 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.9131, allocations: 6.125 kB / 0.9592 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.9136, allocations: 218.6 kB / 0.9594 GB, free: 14.43 MB / 0.7325 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.001439/0.915, allocations: 1.542 MB / 0.9609 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.9153, allocations: 121.8 kB / 0.9611 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.9155, allocations: 100.4 kB / 0.9611 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006028/0.9161, allocations: 316.6 kB / 0.9615 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.9162, allocations: 31.88 kB / 0.9615 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.9162, allocations: 1.406 kB / 0.9615 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007615/0.9169, allocations: 290.8 kB / 0.9618 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.917, allocations: 54.06 kB / 0.9618 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.9173, allocations: 309.2 kB / 0.9621 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.9173, allocations: 31.52 kB / 0.9621 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.9174, allocations: 183.3 kB / 0.9623 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.9175, allocations: 44.64 kB / 0.9624 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.9175, allocations: 24.3 kB / 0.9624 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.9176, allocations: 334.8 kB / 0.9627 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.9178, allocations: 62.33 kB / 0.9628 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.918, allocations: 120.2 kB / 0.9629 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.9184, allocations: 202.6 kB / 0.9631 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9184, allocations: 0 / 0.9631 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004349/0.9188, allocations: 232.6 kB / 0.9633 GB, free: 12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.9189, allocations: 5.531 kB / 0.9633 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.9189, allocations: 1.375 kB / 0.9633 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.9189, allocations: 2.75 kB / 0.9633 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.9191, allocations: 36.33 kB / 0.9633 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.9191, allocations: 7.281 kB / 0.9633 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.9193, allocations: 36.47 kB / 0.9634 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.9193, allocations: 13.48 kB / 0.9634 GB, free: 11.98 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001401/0.9195, allocations: 148 kB / 0.9635 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.9195, allocations: 28.44 kB / 0.9636 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.92, allocations: 226.4 kB / 0.9638 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.92, allocations: 1.391 kB / 0.9638 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.92, allocations: 5.328 kB / 0.9638 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.92, allocations: 2.203 kB / 0.9638 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.9211, allocations: 0.6944 MB / 0.9645 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.9211, allocations: 1.406 kB / 0.9645 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.9212, allocations: 36.97 kB / 0.9645 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.9212, allocations: 4 kB / 0.9645 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.9212, allocations: 6.25 kB / 0.9645 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.9212, allocations: 5.109 kB / 0.9645 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9213, allocations: 2.531 kB / 0.9645 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.9217, allocations: 341.2 kB / 0.9648 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.9218, allocations: 122.7 kB / 0.965 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.9219, allocations: 7.812 kB / 0.965 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.9221, allocations: 20.14 kB / 0.965 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.9221, allocations: 15.08 kB / 0.965 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.9221, allocations: 5 kB / 0.965 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001968/0.9223, allocations: 223.5 kB / 0.9652 GB, free: 11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9224, allocations: 0 / 0.9652 GB, free: 11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003678/0.9227, allocations: 77.31 kB / 0.9653 GB, free: 10.99 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0009556/0.9237, allocations: 0.9444 MB / 0.9662 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003881/0.9241, allocations: 162.1 kB / 0.9664 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9241, allocations: 1.906 kB / 0.9664 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.9243, allocations: 90.61 kB / 0.9664 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009078/0.9252, allocations: 135.2 kB / 0.9666 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.9287, allocations: 2.956 MB / 0.9695 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.929, allocations: 0.7828 MB / 0.9702 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002221/0.9293, allocations: 65.72 kB / 0.9703 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.9294, allocations: 91.69 kB / 0.9704 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of SimCode: time 1.864e-06/0.9294, allocations: 0 / 0.9704 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.9479, allocations: 7.549 MB / 0.9778 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.9481, allocations: 233.1 kB / 0.978 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.778, allocations: 3.938 kB / 0.978 GB, free: 4.492 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)