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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004131/0.004131, allocations: 100.5 kB / 15.87 MB, free: 6.312 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.001108/0.001108, allocations: 198.2 kB / 16.79 MB, free: 6.242 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.188/1.188, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6249/0.6249, allocations: 115.3 MB / 406 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.75 kB / 493 MB, free: 6.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1274, allocations: 76.18 MB / 0.5558 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3566/0.484, allocations: 171.9 MB / 0.7237 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008335/0.4924, allocations: 9.52 MB / 0.733 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.4927, allocations: 8 kB / 0.733 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004842/0.4932, allocations: 151 kB / 0.7331 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.4935, allocations: 83.48 kB / 0.7332 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.4936, allocations: 63.89 kB / 0.7333 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00039/0.494, allocations: 386.6 kB / 0.7336 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.4943, allocations: 193.7 kB / 0.7338 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/0.4946, allocations: 143.4 kB / 0.7339 GB, free: 408 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.4948, allocations: 127.4 kB / 0.7341 GB, free: 280 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.4948, allocations: 16 kB / 0.7341 GB, free: 264 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-05/0.4949, allocations: 20 kB / 0.7341 GB, free: 244 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.131e-05/0.4949, allocations: 71.75 kB / 0.7342 GB, free: 172 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.495, allocations: 119.4 kB / 0.7343 GB, free: 52 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.4953, allocations: 279 kB / 0.7346 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4953, allocations: 0 / 0.7346 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.62e-07/0.4953, allocations: 0 / 0.7346 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4953, allocations: 0 / 0.7346 GB, free: 15.78 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004626/0.4958, allocations: 0.5076 MB / 0.735 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4958, allocations: 12.03 kB / 0.7351 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.821e-05/0.4959, allocations: 66.47 kB / 0.7351 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.4959, allocations: 39.56 kB / 0.7352 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.4962, allocations: 258.5 kB / 0.7354 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.4962, allocations: 24.56 kB / 0.7354 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.4963, allocations: 24 kB / 0.7355 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.4967, allocations: 328.9 kB / 0.7358 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4967, allocations: 0 / 0.7358 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.4967, allocations: 12 kB / 0.7358 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.4967, allocations: 8 kB / 0.7358 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.4969, allocations: 143.7 kB / 0.7359 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.4982, allocations: 1.816 MB / 0.7377 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.183e-05/0.4983, allocations: 177.1 kB / 0.7379 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.836e-05/0.4983, allocations: 80.14 kB / 0.7379 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.4983, allocations: 79.22 kB / 0.738 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.4984, allocations: 109.8 kB / 0.7381 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4984, allocations: 0 / 0.7381 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.873e-05/0.4985, allocations: 53.36 kB / 0.7382 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.4986, allocations: 134.7 kB / 0.7383 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.4989, allocations: 365.7 kB / 0.7386 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.4989, allocations: 29.7 kB / 0.7387 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4991, allocations: 171.8 kB / 0.7388 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.4991, allocations: 0 / 0.7388 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.4991, allocations: 17.72 kB / 0.7389 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4992, allocations: 338.8 kB / 0.7392 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.4993, allocations: 11.98 kB / 0.7392 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.4993, allocations: 32.42 kB / 0.7392 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.4993, allocations: 52.17 kB / 0.7393 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4993, allocations: 4.109 kB / 0.7393 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00013/0.4995, allocations: 97.06 kB / 0.7394 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.4995, allocations: 4 kB / 0.7394 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.4995, allocations: 4 kB / 0.7394 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.4995, allocations: 0 / 0.7394 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.4996, allocations: 11.98 kB / 0.7394 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.4996, allocations: 0 / 0.7394 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.751e-05/0.4997, allocations: 23.69 kB / 0.7394 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.4997, allocations: 8.156 kB / 0.7394 GB, free: 10.44 MB / 0.5606 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.0001241/0.4998, allocations: 218.6 kB / 0.7396 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.4999, allocations: 136.5 kB / 0.7398 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.4999, allocations: 123 kB / 0.7399 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.593e-05/0.5, allocations: 180.2 kB / 0.74 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.755e-05/0.5001, allocations: 188.2 kB / 0.7402 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.084e-05/0.5001, allocations: 184.2 kB / 0.7404 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.5004, allocations: 485.1 kB / 0.7409 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.161e-05/0.5004, allocations: 112.9 kB / 0.741 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.5005, allocations: 101 kB / 0.7411 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.294e-05/0.5005, allocations: 176.3 kB / 0.7412 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.5006, allocations: 188.2 kB / 0.7414 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.384e-05/0.5007, allocations: 180.3 kB / 0.7416 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.417e-05/0.5007, allocations: 184.2 kB / 0.7418 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.5008, allocations: 327.8 kB / 0.7421 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.501, allocations: 221.6 kB / 0.7423 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.099e-05/0.501, allocations: 180.2 kB / 0.7425 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.5011, allocations: 108.9 kB / 0.7426 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.5012, allocations: 180.3 kB / 0.7427 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.5012, allocations: 101 kB / 0.7428 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002398/0.5015, allocations: 267.2 kB / 0.7431 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5015, allocations: 0 / 0.7431 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00024/0.5017, allocations: 39.94 kB / 0.7431 GB, free: 6.418 MB / 0.5606 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.0003767/0.5021, allocations: 0.8318 MB / 0.7439 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.943e-05/0.5022, allocations: 11.94 kB / 0.7439 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5022, allocations: 4.312 kB / 0.744 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.5022, allocations: 4 kB / 0.744 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.503, allocations: 0.6144 MB / 0.7446 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.5055, allocations: 2.752 MB / 0.7472 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.5058, allocations: 0.756 MB / 0.748 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00012/0.506, allocations: 30.97 kB / 0.748 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.5061, allocations: 75.41 kB / 0.7481 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.5061, allocations: 0 / 0.7481 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3112/0.8172, allocations: 5.586 MB / 0.7535 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.8175, allocations: 215 kB / 0.7537 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.734, allocations: 0 / 0.7537 GB, free: 11.52 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)