Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.813/2.813, allocations: 287.3 MB / 302.3 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001497, allocations: 186.7 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 89.42 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007431/0.0007433, allocations: 15.8 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2534, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.9935/1.247, allocations: 145.3 MB / 1.12 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01284/1.26, allocations: 7.452 MB / 1.127 GB, free: 64 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004316/1.26, allocations: 8.812 kB / 1.127 GB, free: 60 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003549/1.261, allocations: 50.8 kB / 1.128 GB, free: 44 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004581/1.261, allocations: 121.6 kB / 1.128 GB, free: 32 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000251/1.262, allocations: 47.31 kB / 1.128 GB, free: 32 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008554/1.262, allocations: 308.5 kB / 1.128 GB, free: 4 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/1.263, allocations: 139.4 kB / 1.128 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004752/1.263, allocations: 119.3 kB / 1.128 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/1.263, allocations: 67.59 kB / 1.128 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/1.264, allocations: 11.33 kB / 1.128 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.254e-05/1.264, allocations: 4.844 kB / 1.128 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.244e-05/1.264, allocations: 46.16 kB / 1.128 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.606e-05/1.264, allocations: 68.86 kB / 1.128 GB, free: 15.88 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003167/1.264, allocations: 212.5 kB / 1.129 GB, free: 15.86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/1.264, allocations: 3.938 kB / 1.129 GB, free: 15.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/1.264, allocations: 0 / 1.129 GB, free: 15.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.264, allocations: 0 / 1.129 GB, free: 15.86 MB / 0.698 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.0006261/1.265, allocations: 473.9 kB / 1.129 GB, free: 15.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.265, allocations: 14.42 kB / 1.129 GB, free: 15.44 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.408e-05/1.265, allocations: 68.38 kB / 1.129 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.241e-05/1.265, allocations: 28.34 kB / 1.129 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/1.265, allocations: 264.2 kB / 1.129 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/1.265, allocations: 17.34 kB / 1.129 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/1.266, allocations: 28.94 kB / 1.13 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/1.266, allocations: 317.2 kB / 1.13 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.266, allocations: 2.344 kB / 1.13 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/1.266, allocations: 12.47 kB / 1.13 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/1.266, allocations: 8.281 kB / 1.13 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/1.267, allocations: 138.8 kB / 1.13 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/1.269, allocations: 1.828 MB / 1.132 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/1.269, allocations: 167.3 kB / 1.132 GB, free: 13.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/1.269, allocations: 76.72 kB / 1.132 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/1.269, allocations: 107.7 kB / 1.132 GB, free: 13.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.795e-06/1.269, allocations: 0 / 1.132 GB, free: 13.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001388/1.269, allocations: 62.52 kB / 1.132 GB, free: 13.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/1.269, allocations: 126.7 kB / 1.132 GB, free: 12.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006043/1.27, allocations: 371.5 kB / 1.133 GB, free: 12.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/1.27, allocations: 25.7 kB / 1.133 GB, free: 12.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/1.27, allocations: 166.1 kB / 1.133 GB, free: 12.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/1.27, allocations: 1.062 kB / 1.133 GB, free: 12.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/1.27, allocations: 0 / 1.133 GB, free: 12.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.27, allocations: 342 kB / 1.133 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/1.27, allocations: 10.03 kB / 1.133 GB, free: 12.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/1.27, allocations: 34.36 kB / 1.133 GB, free: 12.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.846e-05/1.27, allocations: 11.56 kB / 1.133 GB, free: 12.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.27, allocations: 3.938 kB / 1.133 GB, free: 12.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002408/1.271, allocations: 86.95 kB / 1.133 GB, free: 12.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.271, allocations: 8.297 kB / 1.133 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.271, allocations: 1.062 kB / 1.133 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.271, allocations: 3.875 kB / 1.133 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/1.271, allocations: 11.12 kB / 1.133 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.271, allocations: 2.156 kB / 1.133 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/1.271, allocations: 22.78 kB / 1.133 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/1.271, allocations: 4.516 kB / 1.133 GB, free: 12.26 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002266/1.271, allocations: 219.4 kB / 1.134 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/1.271, allocations: 132.2 kB / 1.134 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/1.272, allocations: 135.7 kB / 1.134 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-05/1.272, allocations: 177.4 kB / 1.134 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.922e-05/1.272, allocations: 181.6 kB / 1.134 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.813e-05/1.272, allocations: 189.3 kB / 1.134 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/1.272, allocations: 495.5 kB / 1.135 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.703e-05/1.272, allocations: 104.9 kB / 1.135 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-05/1.272, allocations: 101 kB / 1.135 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.889e-05/1.273, allocations: 185.7 kB / 1.135 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.723e-05/1.273, allocations: 176.3 kB / 1.135 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.173e-05/1.273, allocations: 185.3 kB / 1.135 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-05/1.273, allocations: 185.2 kB / 1.136 GB, free: 9.883 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/1.273, allocations: 327.4 kB / 1.136 GB, free: 9.559 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/1.273, allocations: 211.3 kB / 1.136 GB, free: 9.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/1.273, allocations: 184.6 kB / 1.136 GB, free: 9.156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/1.274, allocations: 107.4 kB / 1.136 GB, free: 9.047 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.44e-05/1.274, allocations: 180.2 kB / 1.137 GB, free: 8.863 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/1.274, allocations: 107.1 kB / 1.137 GB, free: 8.754 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004316/1.274, allocations: 266.6 kB / 1.137 GB, free: 8.668 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/1.274, allocations: 0 / 1.137 GB, free: 8.668 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000397/1.275, allocations: 34.22 kB / 1.137 GB, free: 8.664 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005622/1.275, allocations: 0.8364 MB / 1.138 GB, free: 7.836 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001142/1.275, allocations: 16.97 kB / 1.138 GB, free: 7.832 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.275, allocations: 0 / 1.138 GB, free: 7.832 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-06/1.275, allocations: 320 / 1.138 GB, free: 7.832 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/1.277, allocations: 0.6192 MB / 1.138 GB, free: 7.301 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/1.28, allocations: 1.993 MB / 1.14 GB, free: 6.066 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/1.28, allocations: 0.7608 MB / 1.141 GB, free: 5.367 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002234/1.28, allocations: 37.45 kB / 1.141 GB, free: 5.355 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/1.28, allocations: 78.14 kB / 1.141 GB, free: 5.348 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/1.28, allocations: 0 / 1.141 GB, free: 5.348 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/1.316, allocations: 5.486 MB / 1.147 GB, free: 3.891 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003625/1.316, allocations: 202.3 kB / 1.147 GB, free: 3.648 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.797, allocations: 0 / 1.147 GB, free: 3.648 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)