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.001093/0.001093, allocations: 102.3 kB / 16.35 MB, free: 6.289 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.001106/0.001106, allocations: 196.2 kB / 17.3 MB, free: 5.863 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.002119, allocations: 292.5 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9407/0.9407, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 93.17 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1764, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4346/0.6111, allocations: 148 MB / 0.8261 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004496/0.6156, allocations: 4.642 MB / 0.8307 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.6159, allocations: 11.94 kB / 0.8307 GB, free: 5.934 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.0005619/0.6164, allocations: 166.9 kB / 0.8308 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.6167, allocations: 79.45 kB / 0.8309 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.6169, allocations: 71.86 kB / 0.831 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.6172, allocations: 306.9 kB / 0.8313 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.6175, allocations: 143.5 kB / 0.8314 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.6177, allocations: 115.5 kB / 0.8315 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.6179, allocations: 155.4 kB / 0.8317 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.6179, allocations: 16 kB / 0.8317 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.924e-05/0.6179, allocations: 16 kB / 0.8317 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.618, allocations: 63.81 kB / 0.8318 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.6181, allocations: 103.5 kB / 0.8318 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.6183, allocations: 233.8 kB / 0.8321 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6184, allocations: 4 kB / 0.8321 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6184, allocations: 0 / 0.8321 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.6184, allocations: 0 / 0.8321 GB, free: 4.496 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.0004481/0.6188, allocations: 483.8 kB / 0.8325 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.6189, allocations: 12.03 kB / 0.8325 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.6189, allocations: 24.66 kB / 0.8326 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.6193, allocations: 273 kB / 0.8328 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.6193, allocations: 16.8 kB / 0.8328 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.6193, allocations: 28.31 kB / 0.8329 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.6197, allocations: 305.2 kB / 0.8332 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.6197, allocations: 7.938 kB / 0.8332 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.6197, allocations: 16 kB / 0.8332 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.6197, allocations: 7.938 kB / 0.8332 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.6199, allocations: 119.8 kB / 0.8333 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.6211, allocations: 1.966 MB / 0.8352 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.419e-05/0.6212, allocations: 177.1 kB / 0.8354 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.6212, allocations: 80.14 kB / 0.8355 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.6212, allocations: 83.27 kB / 0.8356 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.6213, allocations: 105.8 kB / 0.8357 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.6213, allocations: 0 / 0.8357 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.153e-05/0.6214, allocations: 53.36 kB / 0.8357 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.6214, allocations: 126.7 kB / 0.8358 GB, free: 372 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.6218, allocations: 332.5 kB / 0.8361 GB, free: 28 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.6218, allocations: 25.7 kB / 0.8362 GB, free: 16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.6219, allocations: 163.7 kB / 0.8363 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-06/0.6219, allocations: 0 / 0.8363 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.6219, allocations: 25.66 kB / 0.8364 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6221, allocations: 330.8 kB / 0.8367 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.6221, allocations: 8 kB / 0.8367 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-05/0.6221, allocations: 61.11 kB / 0.8367 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.6222, allocations: 74.75 kB / 0.8368 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6222, allocations: 0 / 0.8368 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000164/0.6224, allocations: 101.3 kB / 0.8369 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.6224, allocations: 6.344 kB / 0.8369 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6224, allocations: 4 kB / 0.8369 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.6224, allocations: 4.188 kB / 0.8369 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.6225, allocations: 23.92 kB / 0.8369 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6225, allocations: 7.984 kB / 0.8369 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.461e-05/0.6226, allocations: 27.59 kB / 0.837 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.6226, allocations: 8 kB / 0.837 GB, free: 15.1 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.0001165/0.6228, allocations: 217 kB / 0.8372 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.6228, allocations: 124.7 kB / 0.8373 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.988e-05/0.6229, allocations: 122 kB / 0.8374 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.442e-05/0.623, allocations: 192.1 kB / 0.8376 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.587e-05/0.623, allocations: 180.3 kB / 0.8378 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-05/0.6231, allocations: 176.3 kB / 0.8379 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.6233, allocations: 481.1 kB / 0.8384 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/0.6234, allocations: 105 kB / 0.8385 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.6234, allocations: 116.9 kB / 0.8386 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.797e-05/0.6235, allocations: 176.3 kB / 0.8388 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.6235, allocations: 184.1 kB / 0.839 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.981e-05/0.6236, allocations: 184.1 kB / 0.8391 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.509e-05/0.6237, allocations: 180.3 kB / 0.8393 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.6238, allocations: 335.7 kB / 0.8396 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.6239, allocations: 205.8 kB / 0.8398 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/0.624, allocations: 180.3 kB / 0.84 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.525e-05/0.6241, allocations: 104.9 kB / 0.8401 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.6241, allocations: 180.2 kB / 0.8403 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.6242, allocations: 105 kB / 0.8404 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002118/0.6244, allocations: 243 kB / 0.8406 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6244, allocations: 0 / 0.8406 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002744/0.6247, allocations: 27.91 kB / 0.8406 GB, free: 11.14 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.0001122/0.6248, allocations: 174.5 kB / 0.8408 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.134e-05/0.6249, allocations: 24.25 kB / 0.8408 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6249, allocations: 4.125 kB / 0.8408 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.614e-06/0.6249, allocations: 4 kB / 0.8408 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.6255, allocations: 0.508 MB / 0.8413 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.626, allocations: 397.4 kB / 0.8417 GB, free: 10 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.6263, allocations: 0.7517 MB / 0.8424 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.715e-05/0.6264, allocations: 30.27 kB / 0.8425 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.6264, allocations: 19.44 kB / 0.8425 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.6264, allocations: 0 / 0.8425 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of Templates: time 0.004841/0.6313, allocations: 2.35 MB / 0.8448 GB, free: 6.879 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)