Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001003/0.001003, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.0009546/0.0009546, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 287.1 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8929/0.8929, allocations: 169.2 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 91.11 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1642, allocations: 86.97 MB / 0.6816 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4401/0.6044, allocations: 148 MB / 0.8261 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005486/0.6099, allocations: 4.647 MB / 0.8307 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003675/0.6103, allocations: 11.94 kB / 0.8307 GB, free: 5.965 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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/BuildingSystems 2.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/BuildingSystems 2.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/BuildingSystems 2.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.0007082/0.611, allocations: 162.9 kB / 0.8308 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.6115, allocations: 79.39 kB / 0.8309 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.6117, allocations: 75.91 kB / 0.831 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.6121, allocations: 298.8 kB / 0.8313 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003099/0.6124, allocations: 147.5 kB / 0.8314 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.6127, allocations: 112.2 kB / 0.8315 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.6129, allocations: 155.5 kB / 0.8317 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.613, allocations: 16 kB / 0.8317 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 4.353e-05/0.613, allocations: 16 kB / 0.8317 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-05/0.6131, allocations: 63.81 kB / 0.8318 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.6132, allocations: 111.4 kB / 0.8319 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.6135, allocations: 229.8 kB / 0.8321 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.6136, allocations: 3.938 kB / 0.8321 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6136, allocations: 0 / 0.8321 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.6136, allocations: 0 / 0.8321 GB, free: 4.531 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005795/0.6142, allocations: 489.4 kB / 0.8325 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.6142, allocations: 12.03 kB / 0.8326 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.6143, allocations: 24.66 kB / 0.8326 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.6148, allocations: 276.5 kB / 0.8328 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.6148, allocations: 16.81 kB / 0.8329 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.6148, allocations: 20.38 kB / 0.8329 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.6152, allocations: 313.2 kB / 0.8332 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.6153, allocations: 0 / 0.8332 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.6153, allocations: 12 kB / 0.8332 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.6153, allocations: 8 kB / 0.8332 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.6155, allocations: 123.7 kB / 0.8333 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.617, allocations: 1.965 MB / 0.8352 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.278e-05/0.6171, allocations: 177.1 kB / 0.8354 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.6171, allocations: 80.14 kB / 0.8355 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.6172, allocations: 75.28 kB / 0.8356 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.6172, allocations: 110.7 kB / 0.8357 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.6172, allocations: 4 kB / 0.8357 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001044/0.6174, allocations: 49.36 kB / 0.8357 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.6174, allocations: 134.6 kB / 0.8358 GB, free: 404 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.6178, allocations: 332.5 kB / 0.8362 GB, free: 60 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.6178, allocations: 25.7 kB / 0.8362 GB, free: 28 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.618, allocations: 163.7 kB / 0.8363 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.618, allocations: 0 / 0.8363 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.618, allocations: 17.72 kB / 0.8364 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6182, allocations: 334.8 kB / 0.8367 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.6182, allocations: 11.98 kB / 0.8367 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-05/0.6182, allocations: 54.88 kB / 0.8367 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.682e-05/0.6183, allocations: 78.67 kB / 0.8368 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6183, allocations: 0 / 0.8368 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002196/0.6186, allocations: 105.4 kB / 0.8369 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.6186, allocations: 10.34 kB / 0.8369 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.6186, allocations: 2.5 kB / 0.8369 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.6186, allocations: 7.938 kB / 0.8369 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.029e-05/0.6187, allocations: 15.98 kB / 0.8369 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6187, allocations: 0 / 0.8369 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/0.6188, allocations: 27.59 kB / 0.837 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.6188, allocations: 7.938 kB / 0.837 GB, free: 15.14 MB / 0.6075 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.0001501/0.619, allocations: 217 kB / 0.8372 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.862e-05/0.6191, allocations: 128.8 kB / 0.8373 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.152e-05/0.6192, allocations: 126 kB / 0.8374 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.223e-05/0.6192, allocations: 188.1 kB / 0.8376 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.893e-05/0.6193, allocations: 176.3 kB / 0.8378 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.265e-05/0.6194, allocations: 184.2 kB / 0.838 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.6197, allocations: 481.2 kB / 0.8384 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/0.6197, allocations: 104.9 kB / 0.8385 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.6197, allocations: 109 kB / 0.8386 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.658e-05/0.6198, allocations: 176.3 kB / 0.8388 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.575e-05/0.6199, allocations: 184.2 kB / 0.839 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-05/0.6199, allocations: 180.2 kB / 0.8391 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.535e-05/0.62, allocations: 184.2 kB / 0.8393 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.6202, allocations: 331.8 kB / 0.8396 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.6203, allocations: 205.8 kB / 0.8398 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.08e-05/0.6204, allocations: 178.5 kB / 0.84 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.6205, allocations: 112.9 kB / 0.8401 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.6206, allocations: 176.3 kB / 0.8403 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.6206, allocations: 105 kB / 0.8404 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002337/0.6208, allocations: 239 kB / 0.8406 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6208, allocations: 0 / 0.8406 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003053/0.6211, allocations: 31.89 kB / 0.8406 GB, free: 11.18 MB / 0.6075 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.0001529/0.6213, allocations: 178.5 kB / 0.8408 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.866e-05/0.6214, allocations: 23.94 kB / 0.8408 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6214, allocations: 0 / 0.8408 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.337e-06/0.6214, allocations: 0 / 0.8408 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.6221, allocations: 0.5252 MB / 0.8413 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.6226, allocations: 404.3 kB / 0.8417 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.623, allocations: 0.7439 MB / 0.8424 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.492e-05/0.6231, allocations: 30.28 kB / 0.8425 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.6231, allocations: 15.44 kB / 0.8425 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.6231, allocations: 0 / 0.8425 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of Templates: time 0.005427/0.6285, allocations: 2.351 MB / 0.8448 GB, free: 6.91 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)