Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005285/0.005285, allocations: 109 kB / 15.71 MB, free: 5.996 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.001088/0.001088, allocations: 193.7 kB / 16.64 MB, free: 5.934 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.311/1.311, allocations: 222.9 MB / 240.3 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 292.3 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9081/0.9081, allocations: 169.3 MB / 0.4983 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 99.83 kB / 0.6814 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4425, allocations: 86.97 MB / 0.7664 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1759/0.6184, allocations: 174 MB / 0.9363 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008926/0.6274, allocations: 9.522 MB / 0.9456 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.6277, allocations: 8 kB / 0.9456 GB, free: 11.58 MB / 0.7169 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.0006511/0.6284, allocations: 190.6 kB / 0.9458 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.6286, allocations: 87.38 kB / 0.9459 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.6288, allocations: 71.86 kB / 0.946 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.6291, allocations: 322.7 kB / 0.9463 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003264/0.6294, allocations: 200.9 kB / 0.9465 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.6297, allocations: 171.3 kB / 0.9466 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.6299, allocations: 119.4 kB / 0.9467 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.6299, allocations: 24 kB / 0.9468 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.11e-05/0.63, allocations: 20 kB / 0.9468 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.417e-05/0.6301, allocations: 71.81 kB / 0.9469 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.6302, allocations: 127.4 kB / 0.947 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.6304, allocations: 301.3 kB / 0.9473 GB, free: 9.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6305, allocations: 4 kB / 0.9473 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6305, allocations: 0 / 0.9473 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.6305, allocations: 0 / 0.9473 GB, free: 9.898 MB / 0.7169 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.000524/0.631, allocations: 0.5107 MB / 0.9478 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.631, allocations: 12.03 kB / 0.9478 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.6311, allocations: 31.56 kB / 0.9478 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.6315, allocations: 274.5 kB / 0.9481 GB, free: 8.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.6315, allocations: 20.56 kB / 0.9481 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.6315, allocations: 24 kB / 0.9481 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.632, allocations: 331.9 kB / 0.9484 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.632, allocations: 3.984 kB / 0.9484 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.632, allocations: 12 kB / 0.9484 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.632, allocations: 8 kB / 0.9484 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.6322, allocations: 143.6 kB / 0.9486 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.6334, allocations: 1.82 MB / 0.9504 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.763e-05/0.6335, allocations: 169.1 kB / 0.9505 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.6336, allocations: 84.14 kB / 0.9506 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.6336, allocations: 79.22 kB / 0.9507 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.6337, allocations: 117.8 kB / 0.9508 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.6337, allocations: 0 / 0.9508 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.811e-05/0.6338, allocations: 53.36 kB / 0.9508 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.6338, allocations: 130.7 kB / 0.951 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.6342, allocations: 377.6 kB / 0.9513 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.6342, allocations: 29.69 kB / 0.9514 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.6343, allocations: 163.9 kB / 0.9515 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.6343, allocations: 0 / 0.9515 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.6344, allocations: 21.62 kB / 0.9515 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6345, allocations: 330.8 kB / 0.9518 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.6345, allocations: 12.09 kB / 0.9519 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.6346, allocations: 40.23 kB / 0.9519 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.912e-05/0.6346, allocations: 44.23 kB / 0.9519 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6346, allocations: 0 / 0.9519 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001401/0.6348, allocations: 93.22 kB / 0.952 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.6348, allocations: 4 kB / 0.952 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.6348, allocations: 0 / 0.952 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.6348, allocations: 4 kB / 0.952 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.6349, allocations: 11.98 kB / 0.952 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.6349, allocations: 3.938 kB / 0.9521 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.635, allocations: 27.59 kB / 0.9521 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.635, allocations: 160 / 0.9521 GB, free: 4.625 MB / 0.7169 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.0001316/0.6352, allocations: 225 kB / 0.9523 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.6352, allocations: 128.6 kB / 0.9524 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.117e-05/0.6353, allocations: 130.9 kB / 0.9525 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.697e-05/0.6354, allocations: 176.3 kB / 0.9527 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.523e-05/0.6354, allocations: 184.2 kB / 0.9529 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.411e-05/0.6355, allocations: 184.2 kB / 0.9531 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.6358, allocations: 489.1 kB / 0.9535 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-05/0.6359, allocations: 108.9 kB / 0.9536 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.6359, allocations: 101 kB / 0.9537 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-05/0.636, allocations: 184.2 kB / 0.9539 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/0.636, allocations: 180.2 kB / 0.9541 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.979e-05/0.6361, allocations: 184.3 kB / 0.9542 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-05/0.6362, allocations: 184.2 kB / 0.9544 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.6363, allocations: 331.4 kB / 0.9547 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.6364, allocations: 213.6 kB / 0.9549 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.51e-05/0.6365, allocations: 188.5 kB / 0.9551 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.6366, allocations: 104.9 kB / 0.9552 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.6367, allocations: 180.3 kB / 0.9554 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.6367, allocations: 109 kB / 0.9555 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002384/0.637, allocations: 271.2 kB / 0.9558 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.637, allocations: 0 / 0.9558 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002456/0.6372, allocations: 28 kB / 0.9558 GB, free: 0.6016 MB / 0.7169 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.000118/0.6373, allocations: 182.5 kB / 0.956 GB, free: 424 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.871e-05/0.6374, allocations: 11.94 kB / 0.956 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6374, allocations: 0 / 0.956 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.6374, allocations: 3.938 kB / 0.956 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3495/0.9869, allocations: 0.5486 MB / 0.9565 GB, free: 193.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000834/0.9878, allocations: 433.2 kB / 0.9569 GB, free: 193.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.988, allocations: 0.7542 MB / 0.9577 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.9882, allocations: 33.39 kB / 0.9577 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.9883, allocations: 19.75 kB / 0.9577 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.9883, allocations: 0 / 0.9577 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.009075/0.9974, allocations: 3.173 MB / 0.9608 GB, free: 192.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)