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: "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_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.0009324/0.0009326, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005149/0.005149, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.25/1.25, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6734/0.6734, allocations: 132.3 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.0002829, allocations: 8.234 kB / 0.5041 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3481, allocations: 81.58 MB / 0.5838 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1582/0.5064, allocations: 169.6 MB / 0.7494 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008255/0.5147, allocations: 9.392 MB / 0.7586 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.5149, allocations: 11.88 kB / 0.7586 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004744/0.5154, allocations: 151 kB / 0.7587 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.5157, allocations: 87.5 kB / 0.7588 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.5158, allocations: 47.95 kB / 0.7588 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004002/0.5162, allocations: 398.3 kB / 0.7592 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003023/0.5165, allocations: 185.7 kB / 0.7594 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.5168, allocations: 135.4 kB / 0.7595 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.517, allocations: 95.33 kB / 0.7596 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.517, allocations: 4 kB / 0.7596 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.414e-05/0.517, allocations: 4 kB / 0.7596 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.5171, allocations: 47.83 kB / 0.7597 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.798e-05/0.5172, allocations: 125.1 kB / 0.7598 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.5174, allocations: 267 kB / 0.76 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5174, allocations: 0 / 0.76 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5174, allocations: 3.938 kB / 0.76 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.5174, allocations: 0 / 0.76 GB, free: 11.2 MB / 0.5919 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.0003963/0.5178, allocations: 471 kB / 0.7605 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.5179, allocations: 12.03 kB / 0.7605 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.008e-05/0.5179, allocations: 62.53 kB / 0.7606 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.518, allocations: 35.66 kB / 0.7606 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.5183, allocations: 270.4 kB / 0.7609 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.5183, allocations: 20.56 kB / 0.7609 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.5183, allocations: 24 kB / 0.7609 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.5188, allocations: 324 kB / 0.7612 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5188, allocations: 7.922 kB / 0.7612 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.5188, allocations: 15.94 kB / 0.7612 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.5188, allocations: 12 kB / 0.7612 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.519, allocations: 135.8 kB / 0.7614 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.5202, allocations: 1.808 MB / 0.7631 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.953e-05/0.5203, allocations: 173.1 kB / 0.7633 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.5203, allocations: 84.08 kB / 0.7634 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.5203, allocations: 75.28 kB / 0.7635 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.5204, allocations: 109.8 kB / 0.7636 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.5204, allocations: 0 / 0.7636 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.079e-05/0.5205, allocations: 53.33 kB / 0.7636 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.5206, allocations: 138.7 kB / 0.7637 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.521, allocations: 361.7 kB / 0.7641 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.521, allocations: 29.69 kB / 0.7641 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5211, allocations: 175.8 kB / 0.7643 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-06/0.5211, allocations: 112 / 0.7643 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.5211, allocations: 21.66 kB / 0.7643 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5212, allocations: 334.8 kB / 0.7646 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.5213, allocations: 11.92 kB / 0.7646 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.5213, allocations: 32.3 kB / 0.7647 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.492e-05/0.5214, allocations: 44.23 kB / 0.7647 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5214, allocations: 7.938 kB / 0.7647 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001508/0.5215, allocations: 85.22 kB / 0.7648 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.5215, allocations: 8.156 kB / 0.7648 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5216, allocations: 4 kB / 0.7648 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5216, allocations: 0 / 0.7648 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/0.5216, allocations: 11.98 kB / 0.7648 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.5217, allocations: 4 kB / 0.7648 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.5217, allocations: 31.59 kB / 0.7649 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.5217, allocations: 0 / 0.7649 GB, free: 5.922 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.0001492/0.5219, allocations: 217 kB / 0.7651 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.522, allocations: 128.6 kB / 0.7652 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.5221, allocations: 131 kB / 0.7653 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.643e-05/0.5221, allocations: 184.2 kB / 0.7655 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.229e-05/0.5222, allocations: 180.2 kB / 0.7657 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.026e-05/0.5223, allocations: 176.3 kB / 0.7658 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.5226, allocations: 0.4893 MB / 0.7663 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-05/0.5226, allocations: 105 kB / 0.7664 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.5226, allocations: 105.1 kB / 0.7665 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.216e-05/0.5227, allocations: 180.3 kB / 0.7667 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/0.5228, allocations: 188.2 kB / 0.7669 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.333e-05/0.5228, allocations: 180.2 kB / 0.767 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.915e-05/0.5229, allocations: 176.4 kB / 0.7672 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.523, allocations: 343.3 kB / 0.7675 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.5232, allocations: 205.8 kB / 0.7677 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-05/0.5232, allocations: 184.2 kB / 0.7679 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.5233, allocations: 105 kB / 0.768 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.5234, allocations: 184.2 kB / 0.7682 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.5234, allocations: 101 kB / 0.7683 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002421/0.5237, allocations: 271.2 kB / 0.7685 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5237, allocations: 0 / 0.7685 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002424/0.5239, allocations: 31.94 kB / 0.7686 GB, free: 1.906 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.0003167/0.5243, allocations: 0.8396 MB / 0.7694 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.947e-05/0.5243, allocations: 8 kB / 0.7694 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5243, allocations: 7.938 kB / 0.7694 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.5243, allocations: 0 / 0.7694 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/0.5251, allocations: 0.6217 MB / 0.77 GB, free: 404 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.5276, allocations: 2.768 MB / 0.7727 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.5278, allocations: 0.7521 MB / 0.7734 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000101/0.5279, allocations: 30.97 kB / 0.7735 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.168e-05/0.528, allocations: 71.42 kB / 0.7735 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.528, allocations: 0 / 0.7735 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.5432, allocations: 5.489 MB / 0.7789 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.5433, allocations: 203.6 kB / 0.7791 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.299, allocations: 0 / 0.7791 GB, free: 7.129 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)