Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001619, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00164/0.00164, allocations: 192.5 kB / 16.14 MB, free: 6.715 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.596/1.596, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002578/0.002578, allocations: 290.6 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.084/1.084, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 99.56 kB / 0.6057 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1694, allocations: 89.14 MB / 0.6928 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5266/0.696, allocations: 171.8 MB / 0.8606 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009894/0.706, allocations: 9.523 MB / 0.8699 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.7063, allocations: 9.531 kB / 0.8699 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005537/0.7069, allocations: 156.2 kB / 0.8701 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.7071, allocations: 83.69 kB / 0.8701 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.7073, allocations: 55.28 kB / 0.8702 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004138/0.7078, allocations: 389.8 kB / 0.8706 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.7081, allocations: 192.4 kB / 0.8708 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.7084, allocations: 147.1 kB / 0.8709 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.7086, allocations: 128.4 kB / 0.871 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.7086, allocations: 16.91 kB / 0.871 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.474e-05/0.7086, allocations: 19.59 kB / 0.8711 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.142e-05/0.7087, allocations: 69.98 kB / 0.8711 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.7088, allocations: 120 kB / 0.8712 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.7091, allocations: 279.7 kB / 0.8715 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.7091, allocations: 0 / 0.8715 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.51e-07/0.7091, allocations: 0 / 0.8715 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.7091, allocations: 0 / 0.8715 GB, free: 1.879 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005565/0.7097, allocations: 0.5034 MB / 0.872 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.7098, allocations: 10.09 kB / 0.872 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.7098, allocations: 34.72 kB / 0.872 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.7101, allocations: 271.2 kB / 0.8723 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.7102, allocations: 18.81 kB / 0.8723 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.7102, allocations: 25.09 kB / 0.8723 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.7107, allocations: 320.2 kB / 0.8726 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.7107, allocations: 3.938 kB / 0.8726 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.7107, allocations: 17.06 kB / 0.8727 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.7107, allocations: 7.469 kB / 0.8727 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.711, allocations: 141.9 kB / 0.8728 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.7124, allocations: 1.823 MB / 0.8746 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.318e-05/0.7126, allocations: 173.1 kB / 0.8747 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.7126, allocations: 82.48 kB / 0.8748 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.7127, allocations: 79.22 kB / 0.8749 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/0.7127, allocations: 109.8 kB / 0.875 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7127, allocations: 0 / 0.875 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001021/0.7128, allocations: 53.95 kB / 0.8751 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.7129, allocations: 128.8 kB / 0.8752 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.7133, allocations: 373.3 kB / 0.8755 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.7133, allocations: 25.7 kB / 0.8756 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.7135, allocations: 168.5 kB / 0.8757 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.7135, allocations: 2.781 kB / 0.8757 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.7135, allocations: 15.81 kB / 0.8757 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7137, allocations: 338.8 kB / 0.8761 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.7137, allocations: 6.125 kB / 0.8761 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.665e-05/0.7138, allocations: 45.28 kB / 0.8761 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.324e-05/0.7138, allocations: 46.39 kB / 0.8762 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.7139, allocations: 0 / 0.8762 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001616/0.714, allocations: 91 kB / 0.8762 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.714, allocations: 6.625 kB / 0.8763 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.7141, allocations: 6.312 kB / 0.8763 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.7141, allocations: 2.531 kB / 0.8763 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.071e-05/0.7141, allocations: 15.86 kB / 0.8763 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7141, allocations: 160 / 0.8763 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.7142, allocations: 27.28 kB / 0.8763 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.7142, allocations: 2.75 kB / 0.8763 GB, free: 13.37 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001504/0.7144, allocations: 212.2 kB / 0.8765 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-05/0.7145, allocations: 137.5 kB / 0.8766 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.802e-05/0.7146, allocations: 129 kB / 0.8768 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.437e-05/0.7147, allocations: 176.3 kB / 0.8769 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.801e-05/0.7147, allocations: 186.8 kB / 0.8771 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.458e-05/0.7148, allocations: 180.4 kB / 0.8773 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.7152, allocations: 496 kB / 0.8778 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.324e-05/0.7152, allocations: 105 kB / 0.8779 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.7153, allocations: 104.9 kB / 0.878 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.7154, allocations: 186.3 kB / 0.8781 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/0.7155, allocations: 176.3 kB / 0.8783 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.423e-05/0.7156, allocations: 187.1 kB / 0.8785 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.138e-05/0.7156, allocations: 176.5 kB / 0.8786 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.7158, allocations: 334.5 kB / 0.879 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.716, allocations: 220.1 kB / 0.8792 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.7161, allocations: 184.2 kB / 0.8793 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.7162, allocations: 101 kB / 0.8794 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.7163, allocations: 190.4 kB / 0.8796 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.7163, allocations: 101 kB / 0.8797 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002875/0.7166, allocations: 270.8 kB / 0.88 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.7166, allocations: 0 / 0.88 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002555/0.7169, allocations: 31.53 kB / 0.88 GB, free: 9.57 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.0001601/0.7171, allocations: 175.8 kB / 0.8802 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.955e-05/0.7172, allocations: 18.3 kB / 0.8802 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7172, allocations: 0 / 0.8802 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.7172, allocations: 0 / 0.8802 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.7182, allocations: 0.6198 MB / 0.8808 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000674/0.7189, allocations: 497.6 kB / 0.8813 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.7193, allocations: 0.7557 MB / 0.882 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.7194, allocations: 28.41 kB / 0.882 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.7195, allocations: 20.38 kB / 0.8821 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.7195, allocations: 0 / 0.8821 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.006453/0.7259, allocations: 3.024 MB / 0.885 GB, free: 6.215 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)