Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001535/0.001535, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001729/0.001729, allocations: 189.7 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 80.11 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2384, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.5601/0.7985, allocations: 148 MB / 0.9293 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005282/0.8039, allocations: 4.639 MB / 0.9339 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.8042, allocations: 11.94 kB / 0.9339 GB, free: 1.48 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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.0006766/0.8049, allocations: 162.8 kB / 0.934 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.8053, allocations: 87.53 kB / 0.9341 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.8055, allocations: 59.92 kB / 0.9342 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.806, allocations: 310.8 kB / 0.9345 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.8063, allocations: 148.8 kB / 0.9346 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.8064, allocations: 115.5 kB / 0.9347 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.8067, allocations: 151.5 kB / 0.9349 GB, free: 484 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.8067, allocations: 20 kB / 0.9349 GB, free: 464 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.895e-05/0.8067, allocations: 16 kB / 0.9349 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/0.8068, allocations: 63.83 kB / 0.935 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.8069, allocations: 107.4 kB / 0.9351 GB, free: 276 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.8072, allocations: 237 kB / 0.9353 GB, free: 44 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.8072, allocations: 4 kB / 0.9353 GB, free: 40 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8072, allocations: 0 / 0.9353 GB, free: 40 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.8072, allocations: 0 / 0.9353 GB, free: 40 kB / 0.7169 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.0006344/0.8079, allocations: 490.1 kB / 0.9358 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.8079, allocations: 19.88 kB / 0.9358 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.808, allocations: 24.66 kB / 0.9358 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.8083, allocations: 261.9 kB / 0.9361 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.8084, allocations: 16.81 kB / 0.9361 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.8084, allocations: 25.94 kB / 0.9361 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.8088, allocations: 305.2 kB / 0.9364 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.8088, allocations: 5.969 kB / 0.9364 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.8089, allocations: 8 kB / 0.9364 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.8089, allocations: 8 kB / 0.9364 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.8091, allocations: 123.7 kB / 0.9365 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.8104, allocations: 1.969 MB / 0.9384 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.188e-05/0.8105, allocations: 177.1 kB / 0.9386 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.8106, allocations: 80.14 kB / 0.9387 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.8106, allocations: 75.28 kB / 0.9388 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.8107, allocations: 105.8 kB / 0.9389 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.8107, allocations: 0 / 0.9389 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.932e-05/0.8108, allocations: 65.28 kB / 0.9389 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.8108, allocations: 130.7 kB / 0.9391 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.8112, allocations: 332.5 kB / 0.9394 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.8112, allocations: 25.7 kB / 0.9394 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.8114, allocations: 163.6 kB / 0.9396 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.8114, allocations: 0 / 0.9396 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.8114, allocations: 25.72 kB / 0.9396 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.8115, allocations: 330.8 kB / 0.9399 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.8116, allocations: 4.938 kB / 0.9399 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.082e-05/0.8116, allocations: 62.86 kB / 0.94 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.593e-05/0.8117, allocations: 70.75 kB / 0.94 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8117, allocations: 0 / 0.94 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001755/0.8119, allocations: 109.4 kB / 0.9401 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.8119, allocations: 8.062 kB / 0.9401 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.8119, allocations: 7.625 kB / 0.9401 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.812, allocations: 3.938 kB / 0.9401 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.812, allocations: 12 kB / 0.9402 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.8121, allocations: 7.938 kB / 0.9402 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.927e-05/0.8121, allocations: 24.81 kB / 0.9402 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.8122, allocations: 4 kB / 0.9402 GB, free: 10.66 MB / 0.7325 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.0001323/0.8123, allocations: 213 kB / 0.9404 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/0.8124, allocations: 132.7 kB / 0.9405 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.869e-05/0.8125, allocations: 130 kB / 0.9406 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.593e-05/0.8125, allocations: 180.2 kB / 0.9408 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.052e-05/0.8126, allocations: 188.2 kB / 0.941 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-05/0.8127, allocations: 176.3 kB / 0.9412 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.8131, allocations: 477.1 kB / 0.9416 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.872e-05/0.8131, allocations: 104.9 kB / 0.9417 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.8132, allocations: 105 kB / 0.9418 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-05/0.8132, allocations: 180.2 kB / 0.942 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.757e-05/0.8133, allocations: 185.2 kB / 0.9422 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-05/0.8134, allocations: 184.1 kB / 0.9423 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.042e-05/0.8135, allocations: 184.5 kB / 0.9425 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.8136, allocations: 327.5 kB / 0.9428 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.8138, allocations: 201.8 kB / 0.943 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.8139, allocations: 184.2 kB / 0.9432 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.814, allocations: 112.9 kB / 0.9433 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.814, allocations: 180.3 kB / 0.9435 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.8141, allocations: 104.9 kB / 0.9436 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002334/0.8143, allocations: 235 kB / 0.9438 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8143, allocations: 8.875 kB / 0.9438 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00027/0.8146, allocations: 28 kB / 0.9438 GB, free: 6.691 MB / 0.7325 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.0001661/0.8148, allocations: 170.5 kB / 0.944 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.8149, allocations: 27.92 kB / 0.944 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.8149, allocations: 4 kB / 0.944 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.8149, allocations: 4 kB / 0.944 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000777/0.8157, allocations: 0.5182 MB / 0.9445 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.8163, allocations: 433.8 kB / 0.945 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.8167, allocations: 0.744 MB / 0.9457 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.8167, allocations: 19.44 kB / 0.9457 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8167, allocations: 0 / 0.9457 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of Templates: time 0.004571/0.8213, allocations: 2.594 MB / 0.9482 GB, free: 2.199 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)