Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001558/0.001558, allocations: 112.6 kB / 16.37 MB, free: 6 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: 196 kB / 17.31 MB, free: 5.613 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.521/1.521, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8191/0.8191, allocations: 132.2 MB / 423.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 63.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4435, allocations: 80.18 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6825/1.126, allocations: 174 MB / 0.7515 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009122/1.135, allocations: 9.521 MB / 0.7608 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/1.136, allocations: 10.12 kB / 0.7608 GB, free: 1.766 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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/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/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.0007022/1.136, allocations: 192.4 kB / 0.7609 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002572/1.137, allocations: 90.56 kB / 0.761 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/1.137, allocations: 68.03 kB / 0.7611 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004385/1.137, allocations: 327.7 kB / 0.7614 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004078/1.138, allocations: 203 kB / 0.7616 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/1.138, allocations: 165.3 kB / 0.7618 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/1.138, allocations: 123.2 kB / 0.7619 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/1.138, allocations: 22.38 kB / 0.7619 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.294e-05/1.138, allocations: 22.81 kB / 0.7619 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/1.138, allocations: 83.27 kB / 0.762 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/1.139, allocations: 126.6 kB / 0.7621 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003779/1.139, allocations: 293.2 kB / 0.7624 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.139, allocations: 1.094 kB / 0.7624 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.874e-06/1.139, allocations: 1.75 kB / 0.7624 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.124e-06/1.139, allocations: 0 / 0.7624 GB, free: 1.727 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.0007108/1.14, allocations: 0.513 MB / 0.7629 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.14, allocations: 9.969 kB / 0.7629 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/1.14, allocations: 27.12 kB / 0.7629 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/1.14, allocations: 288.6 kB / 0.7632 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/1.14, allocations: 18.06 kB / 0.7632 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/1.14, allocations: 25.66 kB / 0.7633 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/1.141, allocations: 323.8 kB / 0.7636 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.141, allocations: 1.781 kB / 0.7636 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/1.141, allocations: 10.95 kB / 0.7636 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/1.141, allocations: 8.562 kB / 0.7636 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/1.141, allocations: 145.1 kB / 0.7637 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/1.143, allocations: 1.814 MB / 0.7655 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.753e-05/1.143, allocations: 168.8 kB / 0.7657 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/1.143, allocations: 81.08 kB / 0.7657 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/1.143, allocations: 78.94 kB / 0.7658 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/1.143, allocations: 112.7 kB / 0.7659 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.863e-06/1.143, allocations: 0 / 0.7659 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.000108/1.143, allocations: 60.44 kB / 0.766 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/1.143, allocations: 132.2 kB / 0.7661 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/1.144, allocations: 374.7 kB / 0.7665 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/1.144, allocations: 26.8 kB / 0.7665 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/1.144, allocations: 174.3 kB / 0.7666 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-06/1.144, allocations: 1.156 kB / 0.7666 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/1.144, allocations: 17.84 kB / 0.7667 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.144, allocations: 338.7 kB / 0.767 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/1.144, allocations: 4.047 kB / 0.767 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/1.144, allocations: 37.5 kB / 0.767 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.786e-05/1.144, allocations: 44.33 kB / 0.7671 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.144, allocations: 1.203 kB / 0.7671 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001778/1.144, allocations: 90.75 kB / 0.7672 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.144, allocations: 5.156 kB / 0.7672 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/1.144, allocations: 7.016 kB / 0.7672 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/1.144, allocations: 2.5 kB / 0.7672 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/1.145, allocations: 7.922 kB / 0.7672 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.145, allocations: 3.469 kB / 0.7672 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.573e-05/1.145, allocations: 28.16 kB / 0.7672 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/1.145, allocations: 4.469 kB / 0.7672 GB, free: 14.12 MB / 0.5919 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.0001591/1.145, allocations: 216.3 kB / 0.7674 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/1.145, allocations: 126.6 kB / 0.7675 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.473e-05/1.145, allocations: 132.9 kB / 0.7677 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-05/1.145, allocations: 184.3 kB / 0.7678 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-05/1.145, allocations: 184.8 kB / 0.768 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.501e-05/1.145, allocations: 178.3 kB / 0.7682 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/1.146, allocations: 494.6 kB / 0.7687 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-05/1.146, allocations: 107.2 kB / 0.7688 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/1.146, allocations: 104.9 kB / 0.7689 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-05/1.146, allocations: 179 kB / 0.769 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-05/1.146, allocations: 186.8 kB / 0.7692 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.217e-05/1.146, allocations: 177 kB / 0.7694 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.987e-05/1.146, allocations: 188 kB / 0.7696 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/1.146, allocations: 333.5 kB / 0.7699 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/1.146, allocations: 207.6 kB / 0.7701 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/1.146, allocations: 185.2 kB / 0.7703 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/1.147, allocations: 104 kB / 0.7704 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/1.147, allocations: 181.5 kB / 0.7705 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/1.147, allocations: 104.5 kB / 0.7706 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003152/1.147, allocations: 271.8 kB / 0.7709 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.147, allocations: 1.25 kB / 0.7709 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002992/1.147, allocations: 31.59 kB / 0.7709 GB, free: 10.58 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.0001564/1.147, allocations: 174.6 kB / 0.7711 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.237e-05/1.148, allocations: 19.08 kB / 0.7711 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.148, allocations: 0.9062 kB / 0.7711 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-06/1.148, allocations: 3.656 kB / 0.7711 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/1.148, allocations: 0.5574 MB / 0.7717 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007282/1.149, allocations: 436.7 kB / 0.7721 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/1.15, allocations: 0.7532 MB / 0.7728 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001232/1.15, allocations: 32.5 kB / 0.7728 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/1.15, allocations: 22.16 kB / 0.7729 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/1.15, allocations: 1.625 kB / 0.7729 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of Templates: time 0.006762/1.157, allocations: 3.15 MB / 0.7759 GB, free: 8.859 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)