Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4499/0.4499, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 349.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009753/0.0009753, allocations: 113.9 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 51.92 kB / 0.4891 GB, free: 7.688 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3791, allocations: 70.06 MB / 0.5575 GB, free: 44.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6062/0.9853, allocations: 171.8 MB / 0.7253 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.008465/0.9938, allocations: 9.52 MB / 0.7346 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000407/0.9943, allocations: 8.312 kB / 0.7346 GB, free: 1.41 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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/IBPSA 4.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/IBPSA 4.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/IBPSA 4.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.000632/0.995, allocations: 155.8 kB / 0.7348 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.9953, allocations: 81.42 kB / 0.7348 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.9955, allocations: 51.7 kB / 0.7349 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.996, allocations: 390.3 kB / 0.7353 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.9963, allocations: 198.3 kB / 0.7354 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.9966, allocations: 161.5 kB / 0.7356 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.9968, allocations: 120.1 kB / 0.7357 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.9968, allocations: 17.75 kB / 0.7357 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-05/0.9969, allocations: 15.62 kB / 0.7357 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.913e-05/0.997, allocations: 71.77 kB / 0.7358 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.9971, allocations: 121.1 kB / 0.7359 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.9974, allocations: 272.4 kB / 0.7362 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.9974, allocations: 2.781 kB / 0.7362 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9974, allocations: 0 / 0.7362 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.9974, allocations: 4 kB / 0.7362 GB, free: 1.332 MB / 0.5105 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.0006707/0.9981, allocations: 0.5124 MB / 0.7367 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.9981, allocations: 9.562 kB / 0.7367 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.9982, allocations: 30.39 kB / 0.7367 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.9985, allocations: 273.7 kB / 0.737 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.9986, allocations: 18.62 kB / 0.737 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.9986, allocations: 26.56 kB / 0.737 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/0.999, allocations: 328 kB / 0.7374 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.999, allocations: 0 / 0.7374 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.9991, allocations: 12.81 kB / 0.7374 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.9991, allocations: 11.83 kB / 0.7374 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.9993, allocations: 141.7 kB / 0.7375 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/1.001, allocations: 1.82 MB / 0.7393 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.947e-05/1.001, allocations: 174.7 kB / 0.7395 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/1.001, allocations: 80.73 kB / 0.7395 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/1.001, allocations: 76 kB / 0.7396 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/1.001, allocations: 110.3 kB / 0.7397 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/1.001, allocations: 0.5 kB / 0.7397 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 0.0001122/1.001, allocations: 56.95 kB / 0.7398 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/1.001, allocations: 127.2 kB / 0.7399 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005033/1.001, allocations: 375.9 kB / 0.7402 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/1.001, allocations: 26.23 kB / 0.7403 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/1.002, allocations: 171.7 kB / 0.7404 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/1.002, allocations: 1.766 kB / 0.7404 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/1.002, allocations: 17.94 kB / 0.7405 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.002, allocations: 340.7 kB / 0.7408 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.853e-05/1.002, allocations: 3.031 kB / 0.7408 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/1.002, allocations: 39.84 kB / 0.7408 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.995e-05/1.002, allocations: 46.73 kB / 0.7409 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.002, allocations: 0 / 0.7409 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001705/1.002, allocations: 80.72 kB / 0.7409 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.002, allocations: 17.8 kB / 0.741 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.002, allocations: 1.188 kB / 0.741 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.002, allocations: 1.719 kB / 0.741 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-05/1.002, allocations: 8.625 kB / 0.741 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.002, allocations: 1.75 kB / 0.741 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/1.002, allocations: 34.75 kB / 0.741 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/1.002, allocations: 2.625 kB / 0.741 GB, free: 13.68 MB / 0.5261 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.0001528/1.003, allocations: 214.9 kB / 0.7412 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.841e-05/1.003, allocations: 132.7 kB / 0.7413 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.147e-05/1.003, allocations: 133.5 kB / 0.7415 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-05/1.003, allocations: 183 kB / 0.7416 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.652e-05/1.003, allocations: 183.8 kB / 0.7418 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.917e-05/1.003, allocations: 177.4 kB / 0.742 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/1.003, allocations: 0.4927 MB / 0.7425 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.411e-05/1.003, allocations: 106 kB / 0.7426 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/1.003, allocations: 105.2 kB / 0.7427 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.994e-05/1.003, allocations: 176.9 kB / 0.7428 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/1.003, allocations: 183.3 kB / 0.743 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.732e-05/1.004, allocations: 183.6 kB / 0.7432 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.459e-05/1.004, allocations: 183.5 kB / 0.7434 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/1.004, allocations: 0.9167 MB / 0.7443 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/1.004, allocations: 205 kB / 0.7445 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.129e-05/1.004, allocations: 184.7 kB / 0.7446 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/1.004, allocations: 112 kB / 0.7447 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/1.005, allocations: 181.9 kB / 0.7449 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/1.005, allocations: 104.5 kB / 0.745 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000378/1.005, allocations: 266.8 kB / 0.7453 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/1.005, allocations: 0 / 0.7453 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004327/1.005, allocations: 38.88 kB / 0.7453 GB, free: 9.531 MB / 0.5261 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.0001476/1.006, allocations: 177.4 kB / 0.7455 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.583e-05/1.006, allocations: 14.41 kB / 0.7455 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.006, allocations: 0 / 0.7455 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/1.006, allocations: 4.469 kB / 0.7455 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009941/1.007, allocations: 0.6224 MB / 0.7461 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/1.007, allocations: 494.7 kB / 0.7466 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/1.008, allocations: 0.751 MB / 0.7473 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001027/1.008, allocations: 36 kB / 0.7473 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/1.008, allocations: 18.22 kB / 0.7474 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of SimCode: time 1.282e-06/1.008, allocations: 0 / 0.7474 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of Templates: time 0.006223/1.014, allocations: 3.103 MB / 0.7504 GB, free: 7.566 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)