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.001381/0.001387, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 286.9 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9121/0.9121, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 95.06 kB / 0.5952 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1846, allocations: 86.98 MB / 0.6802 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5011/0.6857, allocations: 174 MB / 0.8501 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009089/0.6948, allocations: 9.523 MB / 0.8594 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.6952, allocations: 9 kB / 0.8594 GB, free: 5.68 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.6958, allocations: 190.4 kB / 0.8596 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.6961, allocations: 92.28 kB / 0.8597 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.6962, allocations: 63.7 kB / 0.8598 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000347/0.6966, allocations: 329.9 kB / 0.8601 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.697, allocations: 208.9 kB / 0.8603 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.6973, allocations: 161.9 kB / 0.8604 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.6974, allocations: 126.6 kB / 0.8606 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.6975, allocations: 24.16 kB / 0.8606 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.511e-05/0.6975, allocations: 26.66 kB / 0.8606 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.623e-05/0.6976, allocations: 71.72 kB / 0.8607 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.6977, allocations: 126.2 kB / 0.8608 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.698, allocations: 278.1 kB / 0.8611 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.698, allocations: 0 / 0.8611 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.698, allocations: 0 / 0.8611 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.698, allocations: 0 / 0.8611 GB, free: 4.566 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005048/0.6985, allocations: 0.511 MB / 0.8616 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.6986, allocations: 10.06 kB / 0.8616 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.6986, allocations: 38.81 kB / 0.8616 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.6989, allocations: 263.1 kB / 0.8619 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.6989, allocations: 18.97 kB / 0.8619 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.699, allocations: 29.94 kB / 0.8619 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.6994, allocations: 318.6 kB / 0.8622 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6995, allocations: 0 / 0.8622 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.6995, allocations: 17.25 kB / 0.8622 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.6995, allocations: 7.312 kB / 0.8622 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.6997, allocations: 142.1 kB / 0.8624 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.701, allocations: 1.815 MB / 0.8641 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.421e-05/0.7011, allocations: 176 kB / 0.8643 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.7011, allocations: 80.14 kB / 0.8644 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.7012, allocations: 75.28 kB / 0.8645 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.7012, allocations: 109.8 kB / 0.8646 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.7012, allocations: 3.938 kB / 0.8646 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.899e-05/0.7013, allocations: 62.19 kB / 0.8646 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.7014, allocations: 128.8 kB / 0.8648 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.7018, allocations: 373.1 kB / 0.8651 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.7018, allocations: 25.81 kB / 0.8651 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.7019, allocations: 170.8 kB / 0.8653 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.7019, allocations: 0 / 0.8653 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.702, allocations: 16.44 kB / 0.8653 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7021, allocations: 341.7 kB / 0.8656 GB, free: 260 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.7021, allocations: 7.422 kB / 0.8656 GB, free: 256 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/0.7021, allocations: 33.58 kB / 0.8657 GB, free: 212 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.7022, allocations: 47.11 kB / 0.8657 GB, free: 160 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7022, allocations: 0 / 0.8657 GB, free: 160 kB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001427/0.7024, allocations: 90.84 kB / 0.8658 GB, free: 92 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.7024, allocations: 5.562 kB / 0.8658 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7024, allocations: 6.172 kB / 0.8658 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7024, allocations: 6.109 kB / 0.8658 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.279e-05/0.7025, allocations: 10.12 kB / 0.8658 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.7025, allocations: 7.938 kB / 0.8658 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.7026, allocations: 26.84 kB / 0.8659 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.7026, allocations: 2.844 kB / 0.8659 GB, free: 56 kB / 0.5762 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.0001557/0.7027, allocations: 217.5 kB / 0.8661 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/0.7028, allocations: 133.2 kB / 0.8662 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.325e-05/0.7029, allocations: 132.6 kB / 0.8663 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.451e-05/0.703, allocations: 184.2 kB / 0.8665 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-05/0.7031, allocations: 182.7 kB / 0.8667 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.413e-05/0.7031, allocations: 176.3 kB / 0.8669 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.7035, allocations: 486.5 kB / 0.8673 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.787e-05/0.7035, allocations: 111 kB / 0.8674 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.7036, allocations: 104.9 kB / 0.8675 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.332e-05/0.7036, allocations: 190.6 kB / 0.8677 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/0.7037, allocations: 176.3 kB / 0.8679 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.738e-05/0.7038, allocations: 183.4 kB / 0.868 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-05/0.7039, allocations: 182.2 kB / 0.8682 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.704, allocations: 338.9 kB / 0.8685 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.7042, allocations: 211.5 kB / 0.8687 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.7043, allocations: 176.3 kB / 0.8689 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.7044, allocations: 104.9 kB / 0.869 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.7045, allocations: 183 kB / 0.8692 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.7045, allocations: 104.9 kB / 0.8693 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002765/0.7048, allocations: 270.3 kB / 0.8695 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7048, allocations: 3.938 kB / 0.8695 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002529/0.7051, allocations: 35.16 kB / 0.8696 GB, free: 12.25 MB / 0.5919 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.0001484/0.7052, allocations: 181.3 kB / 0.8698 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.756e-05/0.7053, allocations: 14.12 kB / 0.8698 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7053, allocations: 0 / 0.8698 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.7053, allocations: 320 / 0.8698 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000855/0.7062, allocations: 0.5482 MB / 0.8703 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.7068, allocations: 444.2 kB / 0.8707 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.7071, allocations: 0.7571 MB / 0.8715 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.804e-05/0.7072, allocations: 34.98 kB / 0.8715 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.7073, allocations: 17.56 kB / 0.8715 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.7073, allocations: 3.938 kB / 0.8715 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of Templates: time 0.006205/0.7135, allocations: 3.174 MB / 0.8746 GB, free: 8.957 MB / 0.5919 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)