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.001714/0.001714, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001328/0.001328, allocations: 191 kB / 16.14 MB, free: 6.637 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.537/1.537, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002488/0.002488, allocations: 282.8 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 99.08 kB / 0.6057 GB, free: 25.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1802, allocations: 89.16 MB / 0.6928 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5204/0.7007, allocations: 168.1 MB / 0.8569 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006797/0.7075, allocations: 5.982 MB / 0.8628 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000322/0.7078, allocations: 10.91 kB / 0.8628 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000629/0.7085, allocations: 153.6 kB / 0.8629 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.7088, allocations: 79.12 kB / 0.863 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.7101, allocations: 491.6 kB / 0.8635 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004763/0.7106, allocations: 459.2 kB / 0.8639 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.7108, allocations: 140.4 kB / 0.864 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.7111, allocations: 169.8 kB / 0.8642 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.7114, allocations: 155.3 kB / 0.8643 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.7114, allocations: 10.31 kB / 0.8643 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008426/0.7122, allocations: 0.525 MB / 0.8649 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.516e-05/0.7123, allocations: 63.84 kB / 0.8649 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.7125, allocations: 101.5 kB / 0.865 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006296/0.7131, allocations: 460.7 kB / 0.8655 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7131, allocations: 0 / 0.8655 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.62e-07/0.7131, allocations: 0 / 0.8655 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.7131, allocations: 0 / 0.8655 GB, free: 7.203 MB / 0.5919 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.000696/0.7138, allocations: 0.5241 MB / 0.866 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.7139, allocations: 7.656 kB / 0.866 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.7142, allocations: 51.23 kB / 0.866 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.7145, allocations: 254 kB / 0.8663 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.7147, allocations: 130.7 kB / 0.8664 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.7147, allocations: 26.62 kB / 0.8664 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.7152, allocations: 296.4 kB / 0.8667 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.7153, allocations: 3.938 kB / 0.8667 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.7153, allocations: 10.16 kB / 0.8667 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.7153, allocations: 15.31 kB / 0.8667 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.7156, allocations: 157.1 kB / 0.8669 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.7172, allocations: 1.583 MB / 0.8684 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.7173, allocations: 165.1 kB / 0.8686 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.7174, allocations: 90.17 kB / 0.8687 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.7174, allocations: 75.28 kB / 0.8687 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.018e-05/0.7175, allocations: 109.8 kB / 0.8688 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.7175, allocations: 0 / 0.8688 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.96e-05/0.7176, allocations: 47.55 kB / 0.8689 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.7177, allocations: 126.7 kB / 0.869 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.718, allocations: 310.8 kB / 0.8693 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.7181, allocations: 29.7 kB / 0.8693 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.7182, allocations: 189.9 kB / 0.8695 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-06/0.7182, allocations: 2.719 kB / 0.8695 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.7183, allocations: 44.98 kB / 0.8696 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.7185, allocations: 331.7 kB / 0.8699 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.7185, allocations: 39.84 kB / 0.8699 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.7187, allocations: 159.5 kB / 0.8701 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.719, allocations: 198.9 kB / 0.8703 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.719, allocations: 2.125 kB / 0.8703 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004044/0.7194, allocations: 224.8 kB / 0.8705 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.7195, allocations: 7.625 kB / 0.8705 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.7195, allocations: 8.875 kB / 0.8705 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.7195, allocations: 4.812 kB / 0.8705 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.7197, allocations: 38.17 kB / 0.8705 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.7197, allocations: 8.969 kB / 0.8705 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.7199, allocations: 30.25 kB / 0.8706 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.7199, allocations: 17.55 kB / 0.8706 GB, free: 2.414 MB / 0.5919 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.0001612/0.7201, allocations: 216.6 kB / 0.8708 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/0.7202, allocations: 122.9 kB / 0.8709 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.919e-05/0.7202, allocations: 118.6 kB / 0.871 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-05/0.7203, allocations: 191 kB / 0.8712 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.204e-05/0.7204, allocations: 176.4 kB / 0.8714 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-05/0.7205, allocations: 194.1 kB / 0.8716 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.7209, allocations: 479.6 kB / 0.872 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.792e-05/0.7209, allocations: 103.6 kB / 0.8721 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.721, allocations: 108.9 kB / 0.8722 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.473e-05/0.721, allocations: 180.2 kB / 0.8724 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-05/0.7211, allocations: 190.3 kB / 0.8726 GB, free: 328 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-05/0.7212, allocations: 176.3 kB / 0.8727 GB, free: 144 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.84e-05/0.7213, allocations: 182.7 kB / 0.8729 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.7215, allocations: 325.7 kB / 0.8732 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.7217, allocations: 213.5 kB / 0.8734 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.7218, allocations: 186 kB / 0.8736 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.7219, allocations: 104.9 kB / 0.8737 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.722, allocations: 179.6 kB / 0.8739 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.7221, allocations: 105 kB / 0.874 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002437/0.7223, allocations: 220.3 kB / 0.8742 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7223, allocations: 0 / 0.8742 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003859/0.7227, allocations: 59.09 kB / 0.8742 GB, free: 14.65 MB / 0.6075 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.0003873/0.7231, allocations: 213.7 kB / 0.8744 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001926/0.7233, allocations: 76.44 kB / 0.8745 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7233, allocations: 0 / 0.8745 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.7233, allocations: 1.25 kB / 0.8745 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.7239, allocations: 0.5489 MB / 0.8751 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006157/0.7245, allocations: 452.9 kB / 0.8755 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.7249, allocations: 0.7379 MB / 0.8762 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.7251, allocations: 35.69 kB / 0.8762 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.7251, allocations: 17.59 kB / 0.8763 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.7251, allocations: 3.938 kB / 0.8763 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.005154/0.7303, allocations: 1.765 MB / 0.878 GB, free: 11.89 MB / 0.6075 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)