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: translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 100.6 kB / 16.35 MB, free: 5.824 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.001773/0.001773, allocations: 193.5 kB / 17.29 MB, free: 5.48 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.819/0.819, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 0.5067 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3789, allocations: 80.93 MB / 0.5858 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1568/0.5358, allocations: 148 MB / 0.7303 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004829/0.5406, allocations: 4.654 MB / 0.7348 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.541, allocations: 11.94 kB / 0.7348 GB, free: 1.539 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.000657/0.5416, allocations: 158.9 kB / 0.735 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.542, allocations: 95.38 kB / 0.7351 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.5421, allocations: 59.92 kB / 0.7351 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.5425, allocations: 302.8 kB / 0.7354 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.5428, allocations: 143.6 kB / 0.7356 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.543, allocations: 119.5 kB / 0.7357 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.5432, allocations: 151.4 kB / 0.7358 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.5432, allocations: 16 kB / 0.7358 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.036e-05/0.5432, allocations: 16 kB / 0.7359 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.5433, allocations: 63.83 kB / 0.7359 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.386e-05/0.5434, allocations: 103.4 kB / 0.736 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.5436, allocations: 232.9 kB / 0.7362 GB, free: 108 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5437, allocations: 0 / 0.7362 GB, free: 108 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5437, allocations: 3.938 kB / 0.7362 GB, free: 104 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.5437, allocations: 4 kB / 0.7362 GB, free: 100 kB / 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.0004615/0.5441, allocations: 499.1 kB / 0.7367 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.5442, allocations: 13.11 kB / 0.7367 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.5442, allocations: 24.66 kB / 0.7368 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.5446, allocations: 271.7 kB / 0.737 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.5447, allocations: 20.81 kB / 0.737 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.5447, allocations: 31.94 kB / 0.7371 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.5451, allocations: 296.9 kB / 0.7373 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5451, allocations: 4 kB / 0.7374 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.5451, allocations: 8 kB / 0.7374 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.5451, allocations: 8 kB / 0.7374 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.5453, allocations: 123.7 kB / 0.7375 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.5467, allocations: 1.973 MB / 0.7394 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.952e-05/0.5468, allocations: 169.1 kB / 0.7396 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.5469, allocations: 84.14 kB / 0.7397 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.5469, allocations: 75.28 kB / 0.7397 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.547, allocations: 109.8 kB / 0.7398 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.547, allocations: 4 kB / 0.7398 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.846e-05/0.5471, allocations: 53.42 kB / 0.7399 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.5472, allocations: 130.6 kB / 0.74 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.5475, allocations: 332.5 kB / 0.7403 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.5475, allocations: 25.7 kB / 0.7404 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.5477, allocations: 155.7 kB / 0.7405 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-06/0.5477, allocations: 3.984 kB / 0.7405 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.5477, allocations: 29.75 kB / 0.7405 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5478, allocations: 334.8 kB / 0.7409 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.5479, allocations: 8 kB / 0.7409 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.904e-05/0.5479, allocations: 54.86 kB / 0.7409 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.247e-05/0.548, allocations: 70.75 kB / 0.741 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.548, allocations: 0 / 0.741 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001688/0.5482, allocations: 109.2 kB / 0.7411 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5482, allocations: 11.92 kB / 0.7411 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5482, allocations: 4 kB / 0.7411 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.5482, allocations: 0 / 0.7411 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.5483, allocations: 15.94 kB / 0.7411 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5483, allocations: 4 kB / 0.7411 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.5484, allocations: 23.69 kB / 0.7411 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.5484, allocations: 4.25 kB / 0.7411 GB, free: 10.7 MB / 0.5762 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.0001342/0.5486, allocations: 217.9 kB / 0.7414 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.5486, allocations: 128.6 kB / 0.7415 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.797e-05/0.5487, allocations: 129.8 kB / 0.7416 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.426e-05/0.5488, allocations: 184.2 kB / 0.7418 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.977e-05/0.5489, allocations: 176.3 kB / 0.7419 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-05/0.5489, allocations: 192.1 kB / 0.7421 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.5492, allocations: 473.1 kB / 0.7426 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-05/0.5493, allocations: 104.9 kB / 0.7427 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.5493, allocations: 105 kB / 0.7428 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.767e-05/0.5494, allocations: 180.2 kB / 0.7429 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-05/0.5495, allocations: 184.2 kB / 0.7431 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-05/0.5496, allocations: 184.4 kB / 0.7433 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.273e-05/0.5497, allocations: 184.2 kB / 0.7435 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.5498, allocations: 323.5 kB / 0.7438 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.55, allocations: 209.7 kB / 0.744 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.5501, allocations: 188.3 kB / 0.7442 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5502, allocations: 112.9 kB / 0.7443 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.5503, allocations: 176.3 kB / 0.7444 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.5503, allocations: 101 kB / 0.7445 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002422/0.5506, allocations: 235 kB / 0.7448 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5506, allocations: 0 / 0.7448 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002756/0.5509, allocations: 31.94 kB / 0.7448 GB, free: 6.734 MB / 0.5762 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.0001422/0.551, allocations: 178.5 kB / 0.745 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.5511, allocations: 27.92 kB / 0.745 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5511, allocations: 0 / 0.745 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.5512, allocations: 352 / 0.745 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007512/0.5519, allocations: 0.519 MB / 0.7455 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.5525, allocations: 404.1 kB / 0.7459 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.5529, allocations: 0.7401 MB / 0.7466 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.258e-05/0.553, allocations: 26.3 kB / 0.7466 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.553, allocations: 15.44 kB / 0.7466 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of SimCode: time 3.467e-06/0.553, allocations: 4 kB / 0.7466 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of Templates: time 0.005271/0.5583, allocations: 2.341 MB / 0.7489 GB, free: 2.469 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)