Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.001167/0.001167, 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.001252/0.001252, allocations: 194.7 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9003/0.9003, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 65.19 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1462, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4034/0.5496, allocations: 148 MB / 0.729 GB, free: 1.781 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005354/0.555, allocations: 4.648 MB / 0.7335 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003674/0.5554, allocations: 10.19 kB / 0.7335 GB, free: 14.45 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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/IDEAS 3.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/IDEAS 3.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/IDEAS 3.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.0005527/0.556, allocations: 163.4 kB / 0.7337 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.5564, allocations: 87.22 kB / 0.7338 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.5566, allocations: 65.8 kB / 0.7338 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.557, allocations: 308.7 kB / 0.7341 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.5573, allocations: 148.1 kB / 0.7343 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.5575, allocations: 113.1 kB / 0.7344 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.5578, allocations: 151.8 kB / 0.7345 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.5578, allocations: 16.09 kB / 0.7345 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.541e-05/0.5579, allocations: 19.09 kB / 0.7346 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.558, allocations: 65.09 kB / 0.7346 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.5581, allocations: 97.94 kB / 0.7347 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.5583, allocations: 232.2 kB / 0.7349 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5583, allocations: 3.938 kB / 0.7349 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5584, allocations: 0 / 0.7349 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.5584, allocations: 5.125 kB / 0.7349 GB, free: 13.71 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005164/0.5589, allocations: 489 kB / 0.7354 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5589, allocations: 8.531 kB / 0.7354 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.89e-05/0.559, allocations: 60.11 kB / 0.7355 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.5591, allocations: 25.53 kB / 0.7355 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.5593, allocations: 261.8 kB / 0.7358 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.5594, allocations: 18.12 kB / 0.7358 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.5594, allocations: 25.69 kB / 0.7358 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.5598, allocations: 306.6 kB / 0.7361 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.5598, allocations: 1.062 kB / 0.7361 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.5598, allocations: 11.28 kB / 0.7361 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.5599, allocations: 7.031 kB / 0.7361 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.56, allocations: 124.4 kB / 0.7362 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.5613, allocations: 1.964 MB / 0.7381 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/0.5614, allocations: 172.1 kB / 0.7383 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.5614, allocations: 80.14 kB / 0.7384 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.5614, allocations: 80.67 kB / 0.7385 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.5615, allocations: 113.8 kB / 0.7386 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.5615, allocations: 0 / 0.7386 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.919e-05/0.5616, allocations: 57.42 kB / 0.7386 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.5617, allocations: 129.2 kB / 0.7387 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.562, allocations: 328.1 kB / 0.7391 GB, free: 10 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.562, allocations: 25.7 kB / 0.7391 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.5621, allocations: 163.4 kB / 0.7392 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.274e-06/0.5622, allocations: 5.094 kB / 0.7392 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.5622, allocations: 24.31 kB / 0.7393 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5623, allocations: 336.5 kB / 0.7396 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.5623, allocations: 9.094 kB / 0.7396 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.5624, allocations: 55.67 kB / 0.7397 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.436e-05/0.5625, allocations: 70.72 kB / 0.7397 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.5625, allocations: 1.125 kB / 0.7397 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001717/0.5627, allocations: 107.3 kB / 0.7398 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5627, allocations: 9.875 kB / 0.7398 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5627, allocations: 2.531 kB / 0.7398 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.5627, allocations: 2.156 kB / 0.7398 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.5628, allocations: 14.64 kB / 0.7398 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.5628, allocations: 2.25 kB / 0.7399 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.5629, allocations: 26.66 kB / 0.7399 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.5629, allocations: 10.19 kB / 0.7399 GB, free: 9.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001227/0.563, allocations: 215 kB / 0.7401 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.5631, allocations: 128.5 kB / 0.7402 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.631e-05/0.5632, allocations: 131 kB / 0.7403 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.849e-05/0.5633, allocations: 177.7 kB / 0.7405 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.046e-05/0.5633, allocations: 178.5 kB / 0.7407 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-05/0.5634, allocations: 185.5 kB / 0.7409 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.5637, allocations: 478 kB / 0.7413 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-05/0.5637, allocations: 106.1 kB / 0.7414 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.5638, allocations: 104.5 kB / 0.7415 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.726e-05/0.5638, allocations: 185.4 kB / 0.7417 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.5639, allocations: 185.3 kB / 0.7419 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.908e-05/0.5639, allocations: 177.4 kB / 0.742 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.518e-05/0.564, allocations: 182 kB / 0.7422 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.5642, allocations: 328.8 kB / 0.7425 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.844e-05/0.5643, allocations: 211.5 kB / 0.7427 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.614e-05/0.5643, allocations: 188.7 kB / 0.7429 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.921e-05/0.5645, allocations: 106.1 kB / 0.743 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.5645, allocations: 177.3 kB / 0.7432 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.5646, allocations: 102 kB / 0.7433 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002496/0.5648, allocations: 244.5 kB / 0.7435 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5648, allocations: 0 / 0.7435 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002696/0.5651, allocations: 32.44 kB / 0.7435 GB, free: 5.52 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.0003558/0.5655, allocations: 0.8314 MB / 0.7443 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.375e-05/0.5655, allocations: 22.06 kB / 0.7444 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5656, allocations: 4.062 kB / 0.7444 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-06/0.5656, allocations: 5.062 kB / 0.7444 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.5663, allocations: 0.518 MB / 0.7449 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.5687, allocations: 2.504 MB / 0.7473 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.569, allocations: 0.7456 MB / 0.7481 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.5691, allocations: 30.11 kB / 0.7481 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/0.5692, allocations: 65.55 kB / 0.7481 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.5692, allocations: 0 / 0.7481 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.5897, allocations: 4.727 MB / 0.7528 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.51, allocations: 12.89 kB / 0.7528 GB, free: 15.1 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)