Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_Buildings_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.0008853/0.0008856, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.00482/0.00482, allocations: 169.5 kB / 16.27 MB, free: 6.648 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.143/1.143, allocations: 205.4 MB / 222.4 MB, free: 5.578 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.536/1.536, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0004522/0.0004522, allocations: 18.33 kB / 0.6744 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1697, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4834/0.6531, allocations: 165.9 MB / 0.95 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004933/0.6581, allocations: 5.914 MB / 0.9558 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.6584, allocations: 6.781 kB / 0.9558 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.6588, allocations: 151.8 kB / 0.9559 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.659, allocations: 85.27 kB / 0.956 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.6599, allocations: 492.9 kB / 0.9565 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.6603, allocations: 469.3 kB / 0.9569 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.6605, allocations: 140.4 kB / 0.9571 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.6607, allocations: 161.3 kB / 0.9572 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.6609, allocations: 136.2 kB / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.6609, allocations: 7.188 kB / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005873/0.6615, allocations: 0.5094 MB / 0.9578 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.6616, allocations: 56.17 kB / 0.9579 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.6618, allocations: 118.9 kB / 0.958 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.6622, allocations: 459.3 kB / 0.9584 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.6622, allocations: 0 / 0.9584 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6622, allocations: 0 / 0.9584 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.6623, allocations: 0 / 0.9584 GB, free: 20.49 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004006/0.6627, allocations: 485 kB / 0.9589 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.6627, allocations: 12.53 kB / 0.9589 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.6627, allocations: 55.67 kB / 0.959 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.663, allocations: 48.38 kB / 0.959 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.6632, allocations: 256.2 kB / 0.9593 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.6633, allocations: 133.5 kB / 0.9594 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.6634, allocations: 22.12 kB / 0.9594 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.6637, allocations: 296.3 kB / 0.9597 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.6637, allocations: 2.625 kB / 0.9597 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.6637, allocations: 10.28 kB / 0.9597 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.6638, allocations: 9.766 kB / 0.9597 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.664, allocations: 155.8 kB / 0.9599 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.665, allocations: 1.581 MB / 0.9614 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.679e-05/0.6651, allocations: 172.1 kB / 0.9616 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.6651, allocations: 81.17 kB / 0.9617 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.6652, allocations: 79.28 kB / 0.9617 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.6652, allocations: 106.9 kB / 0.9618 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.6652, allocations: 0 / 0.9618 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.992e-05/0.6653, allocations: 56.8 kB / 0.9619 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.6653, allocations: 126.7 kB / 0.962 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.6656, allocations: 311.1 kB / 0.9623 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.6656, allocations: 31.45 kB / 0.9623 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.561e-05/0.6657, allocations: 188.7 kB / 0.9625 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.6657, allocations: 9.75 kB / 0.9625 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.6658, allocations: 16.62 kB / 0.9625 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.6659, allocations: 333.9 kB / 0.9629 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.162e-05/0.6659, allocations: 40.53 kB / 0.9629 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.833e-05/0.666, allocations: 156.9 kB / 0.963 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.6662, allocations: 206 kB / 0.9632 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6662, allocations: 1.531 kB / 0.9632 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000317/0.6665, allocations: 214.2 kB / 0.9634 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6665, allocations: 10.41 kB / 0.9635 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6665, allocations: 4.25 kB / 0.9635 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.6666, allocations: 10.08 kB / 0.9635 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.6667, allocations: 40.66 kB / 0.9635 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6667, allocations: 9.406 kB / 0.9635 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.6669, allocations: 33.03 kB / 0.9635 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.6669, allocations: 11.53 kB / 0.9636 GB, free: 16.61 MB / 0.7325 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.0001155/0.667, allocations: 220.1 kB / 0.9638 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.6671, allocations: 128.8 kB / 0.9639 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.6671, allocations: 122 kB / 0.964 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-05/0.6672, allocations: 179.9 kB / 0.9642 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.235e-05/0.6672, allocations: 179.8 kB / 0.9644 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-05/0.6673, allocations: 182.2 kB / 0.9645 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.6676, allocations: 480.7 kB / 0.965 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/0.6676, allocations: 105.3 kB / 0.9651 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.6676, allocations: 108.3 kB / 0.9652 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/0.6677, allocations: 187.9 kB / 0.9654 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/0.6677, allocations: 177.5 kB / 0.9655 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.446e-05/0.6678, allocations: 184.2 kB / 0.9657 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-05/0.6678, allocations: 182.1 kB / 0.9659 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.668, allocations: 321.4 kB / 0.9662 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.6681, allocations: 211.6 kB / 0.9664 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/0.6681, allocations: 189.7 kB / 0.9666 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.6682, allocations: 104.6 kB / 0.9667 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.6683, allocations: 184.4 kB / 0.9668 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.6684, allocations: 104.9 kB / 0.9669 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001855/0.6685, allocations: 216.7 kB / 0.9672 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6686, allocations: 1.25 kB / 0.9672 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002989/0.6689, allocations: 53.81 kB / 0.9672 GB, free: 13.06 MB / 0.7325 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.0004291/0.6693, allocations: 0.8591 MB / 0.968 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.6694, allocations: 81.44 kB / 0.9681 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6695, allocations: 0 / 0.9681 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.6695, allocations: 192 / 0.9681 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.6699, allocations: 0.551 MB / 0.9687 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.6719, allocations: 2.571 MB / 0.9712 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.6721, allocations: 0.7361 MB / 0.9719 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.6723, allocations: 34.16 kB / 0.9719 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.6723, allocations: 62.88 kB / 0.972 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.6723, allocations: 3.594 kB / 0.972 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/0.79, allocations: 3.721 MB / 0.9756 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.7902, allocations: 201.6 kB / 0.9758 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.69, allocations: 0 / 0.9758 GB, free: 8.574 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)