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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009732/0.0009731, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001678/0.001678, allocations: 266.1 kB / 291.3 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.973/0.973, allocations: 169.5 MB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006524/0.0006524, allocations: 12.91 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1846, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5328/0.7175, allocations: 154.8 MB / 0.8357 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006005/0.7235, allocations: 5.553 MB / 0.8411 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.7239, allocations: 10.19 kB / 0.8411 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.7245, allocations: 139.7 kB / 0.8412 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.7248, allocations: 73.31 kB / 0.8413 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009325/0.7257, allocations: 344.6 kB / 0.8416 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.7261, allocations: 412.8 kB / 0.842 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.7264, allocations: 100.3 kB / 0.8421 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.7266, allocations: 161.7 kB / 0.8423 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.7269, allocations: 122.7 kB / 0.8424 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.7269, allocations: 5.875 kB / 0.8424 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005186/0.7274, allocations: 223.3 kB / 0.8426 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.7275, allocations: 52.17 kB / 0.8427 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.7276, allocations: 61.17 kB / 0.8427 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.7279, allocations: 277.5 kB / 0.843 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.7279, allocations: 1.344 kB / 0.843 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7279, allocations: 0 / 0.843 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.728, allocations: 0 / 0.843 GB, free: 3.742 MB / 0.5606 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.0005353/0.7285, allocations: 486.1 kB / 0.8434 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.7285, allocations: 9.062 kB / 0.8434 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.7288, allocations: 50.94 kB / 0.8435 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.7291, allocations: 250.7 kB / 0.8437 GB, free: 3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.7293, allocations: 131.4 kB / 0.8439 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.7293, allocations: 22.81 kB / 0.8439 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.7298, allocations: 290.2 kB / 0.8442 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.7298, allocations: 3.938 kB / 0.8442 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.7298, allocations: 10.19 kB / 0.8442 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.7298, allocations: 6.531 kB / 0.8442 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.7301, allocations: 154.2 kB / 0.8443 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.7314, allocations: 1.589 MB / 0.8459 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.031e-05/0.7315, allocations: 165.1 kB / 0.846 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.7315, allocations: 84.08 kB / 0.8461 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.7315, allocations: 81.75 kB / 0.8462 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.7316, allocations: 109.8 kB / 0.8463 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.7316, allocations: 0 / 0.8463 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.559e-05/0.7317, allocations: 49.81 kB / 0.8463 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.7318, allocations: 126.7 kB / 0.8465 GB, free: 380 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.7321, allocations: 308.1 kB / 0.8468 GB, free: 172 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.7321, allocations: 25.7 kB / 0.8468 GB, free: 140 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.7323, allocations: 197 kB / 0.847 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-06/0.7323, allocations: 6.906 kB / 0.847 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.7323, allocations: 0 / 0.847 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7324, allocations: 331.5 kB / 0.8473 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.7325, allocations: 39.86 kB / 0.8473 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.7327, allocations: 158.6 kB / 0.8475 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.7328, allocations: 65.66 kB / 0.8475 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7328, allocations: 6.656 kB / 0.8476 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003874/0.7332, allocations: 210.5 kB / 0.8478 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7332, allocations: 8.906 kB / 0.8478 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.7332, allocations: 6.688 kB / 0.8478 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.7333, allocations: 7.781 kB / 0.8478 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.7334, allocations: 39.14 kB / 0.8478 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.7334, allocations: 13.05 kB / 0.8478 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.7336, allocations: 30.47 kB / 0.8479 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.7336, allocations: 12.09 kB / 0.8479 GB, free: 15.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.7338, allocations: 226.9 kB / 0.8481 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.411e-05/0.7339, allocations: 121.6 kB / 0.8482 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.228e-05/0.7339, allocations: 122.1 kB / 0.8483 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.842e-05/0.734, allocations: 180.2 kB / 0.8485 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.109e-05/0.734, allocations: 187.2 kB / 0.8487 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.727e-05/0.7341, allocations: 176.3 kB / 0.8488 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.7344, allocations: 489.6 kB / 0.8493 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.762e-05/0.7344, allocations: 108.9 kB / 0.8494 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.7345, allocations: 108.5 kB / 0.8495 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.204e-05/0.7345, allocations: 176.3 kB / 0.8497 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.118e-05/0.7346, allocations: 180.4 kB / 0.8498 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.455e-05/0.7347, allocations: 191.1 kB / 0.85 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-05/0.7347, allocations: 181.6 kB / 0.8502 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.7349, allocations: 318.5 kB / 0.8505 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.735, allocations: 213.7 kB / 0.8507 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.417e-05/0.7351, allocations: 180.2 kB / 0.8509 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.7352, allocations: 107.9 kB / 0.851 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.7353, allocations: 184.2 kB / 0.8512 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.7353, allocations: 101 kB / 0.8513 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002062/0.7355, allocations: 216.9 kB / 0.8515 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7355, allocations: 0 / 0.8515 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003457/0.7359, allocations: 53.22 kB / 0.8515 GB, free: 11.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000232/0.7361, allocations: 195.2 kB / 0.8517 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.7363, allocations: 88.89 kB / 0.8518 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7363, allocations: 0 / 0.8518 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.7363, allocations: 0 / 0.8518 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.7369, allocations: 0.5483 MB / 0.8523 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.7375, allocations: 446.6 kB / 0.8527 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.7378, allocations: 0.7443 MB / 0.8535 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.738, allocations: 35.2 kB / 0.8535 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.738, allocations: 15.34 kB / 0.8535 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.738, allocations: 0 / 0.8535 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of Templates: time 0.004799/0.7428, allocations: 1.715 MB / 0.8552 GB, free: 8.727 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)