Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",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.0008083/0.0008084, allocations: 90.83 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.004578/0.004578, allocations: 171.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00157/0.00157, allocations: 262.2 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8184/0.8184, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 12.44 kB / 0.5988 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1223, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.374/0.4964, allocations: 165.9 MB / 0.8472 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004806/0.5013, allocations: 5.914 MB / 0.853 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.5014, allocations: 6 kB / 0.853 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.5018, allocations: 160.8 kB / 0.8531 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.502, allocations: 77.28 kB / 0.8532 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.5027, allocations: 493 kB / 0.8537 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.5031, allocations: 472.3 kB / 0.8541 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.5033, allocations: 128.2 kB / 0.8543 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.5035, allocations: 165.2 kB / 0.8544 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.5036, allocations: 130.8 kB / 0.8545 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.5037, allocations: 8.031 kB / 0.8545 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005826/0.5042, allocations: 0.5118 MB / 0.855 GB, free: 10 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.5043, allocations: 57.69 kB / 0.8551 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.5044, allocations: 117.8 kB / 0.8552 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.5048, allocations: 460.7 kB / 0.8557 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.5049, allocations: 0 / 0.8557 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5049, allocations: 0 / 0.8557 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.5049, allocations: 3.938 kB / 0.8557 GB, free: 9.594 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0003891/0.5053, allocations: 485.9 kB / 0.8561 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.5053, allocations: 7.969 kB / 0.8561 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.448e-05/0.5054, allocations: 59.2 kB / 0.8562 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.5056, allocations: 42.52 kB / 0.8562 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.5058, allocations: 255.5 kB / 0.8565 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.5059, allocations: 132.3 kB / 0.8566 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.5059, allocations: 25.34 kB / 0.8566 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.5063, allocations: 300.1 kB / 0.8569 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.5063, allocations: 4 kB / 0.8569 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.5063, allocations: 11.16 kB / 0.8569 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.5064, allocations: 7.781 kB / 0.8569 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.5066, allocations: 156.9 kB / 0.8571 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009973/0.5076, allocations: 1.585 MB / 0.8586 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.431e-05/0.5077, allocations: 171.9 kB / 0.8588 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.5077, allocations: 80.14 kB / 0.8589 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.5077, allocations: 75.28 kB / 0.8589 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.5078, allocations: 109.8 kB / 0.859 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 2.655e-06/0.5078, allocations: 6.906 kB / 0.859 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.388e-05/0.5078, allocations: 49.39 kB / 0.8591 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.5079, allocations: 130.7 kB / 0.8592 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.5081, allocations: 308.4 kB / 0.8595 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.5082, allocations: 25.7 kB / 0.8595 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.5083, allocations: 193 kB / 0.8597 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.5083, allocations: 10.83 kB / 0.8597 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.5083, allocations: 16.62 kB / 0.8597 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.5084, allocations: 335.9 kB / 0.8601 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.146e-05/0.5085, allocations: 35.47 kB / 0.8601 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.5086, allocations: 157 kB / 0.8603 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.5088, allocations: 202.5 kB / 0.8604 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5088, allocations: 0 / 0.8604 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003239/0.5091, allocations: 220.9 kB / 0.8607 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5091, allocations: 9.969 kB / 0.8607 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5091, allocations: 9.203 kB / 0.8607 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.5092, allocations: 10.25 kB / 0.8607 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.5093, allocations: 37.17 kB / 0.8607 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.5093, allocations: 5.844 kB / 0.8607 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.5094, allocations: 26.59 kB / 0.8607 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.5095, allocations: 18.86 kB / 0.8608 GB, free: 4.793 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.000103/0.5096, allocations: 215.4 kB / 0.861 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.5096, allocations: 128.5 kB / 0.8611 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.5097, allocations: 130.5 kB / 0.8612 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.836e-05/0.5097, allocations: 184.2 kB / 0.8614 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.322e-05/0.5098, allocations: 186.7 kB / 0.8616 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.739e-05/0.5098, allocations: 176.3 kB / 0.8617 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.5101, allocations: 482.6 kB / 0.8622 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.5101, allocations: 101 kB / 0.8623 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.5101, allocations: 109 kB / 0.8624 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.303e-05/0.5102, allocations: 190.9 kB / 0.8626 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.5102, allocations: 184.3 kB / 0.8628 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-05/0.5103, allocations: 180.2 kB / 0.8629 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-05/0.5103, allocations: 178 kB / 0.8631 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.5104, allocations: 327.2 kB / 0.8634 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.5105, allocations: 202.3 kB / 0.8636 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/0.5106, allocations: 184.1 kB / 0.8638 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.5107, allocations: 101 kB / 0.8639 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.5107, allocations: 179.1 kB / 0.864 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.5107, allocations: 108.9 kB / 0.8642 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001913/0.5109, allocations: 225.1 kB / 0.8644 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5109, allocations: 0 / 0.8644 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002951/0.5112, allocations: 51.25 kB / 0.8644 GB, free: 1.039 MB / 0.5762 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 (0): * Single equations (assignments): 0 * 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.0003786/0.5116, allocations: 0.8511 MB / 0.8652 GB, free: 212 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.5118, allocations: 87.39 kB / 0.8653 GB, free: 168 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.5118, allocations: 0 / 0.8653 GB, free: 168 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.5118, allocations: 6.875 kB / 0.8653 GB, free: 164 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.5122, allocations: 0.5433 MB / 0.8659 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.5142, allocations: 2.58 MB / 0.8684 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.5144, allocations: 0.7422 MB / 0.8691 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.5145, allocations: 34.94 kB / 0.8691 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.5146, allocations: 54.3 kB / 0.8692 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.5146, allocations: 3.938 kB / 0.8692 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.65/3.165, allocations: 3.734 MB / 0.8728 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/3.165, allocations: 226.6 kB / 0.8731 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/4.85, allocations: 0 / 0.8731 GB, free: 10.61 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)