Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7843/0.7843, allocations: 143.4 MB / 159.2 MB, free: 4.926 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 195 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 102.9 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001928/0.001927, allocations: 295.5 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 83.88 kB / 0.6885 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3114, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4517/0.7631, allocations: 168.1 MB / 0.932 GB, free: 344 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005149/0.7683, allocations: 5.993 MB / 0.9379 GB, free: 204 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.7687, allocations: 7.688 kB / 0.9379 GB, free: 204 kB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) 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/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) 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/AirToOutlet.mo:96:3-98: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). Notification: Performance of NFTyping.typeComponents: time 0.000593/0.7693, allocations: 153.8 kB / 0.938 GB, free: 204 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.7696, allocations: 81.3 kB / 0.9381 GB, free: 200 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.7707, allocations: 491.4 kB / 0.9386 GB, free: 176 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000439/0.7712, allocations: 472.7 kB / 0.939 GB, free: 176 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.7714, allocations: 137.4 kB / 0.9392 GB, free: 144 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.7716, allocations: 174 kB / 0.9393 GB, free: 140 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.7719, allocations: 153 kB / 0.9395 GB, free: 136 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.7719, allocations: 10.66 kB / 0.9395 GB, free: 136 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007433/0.7726, allocations: 0.5248 MB / 0.94 GB, free: 128 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.7727, allocations: 60.7 kB / 0.9401 GB, free: 128 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.7729, allocations: 103.7 kB / 0.9402 GB, free: 128 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005531/0.7734, allocations: 467.6 kB / 0.9406 GB, free: 96 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.7734, allocations: 4 kB / 0.9406 GB, free: 92 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7734, allocations: 0.5312 kB / 0.9406 GB, free: 92 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.7734, allocations: 0 / 0.9406 GB, free: 92 kB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005937/0.774, allocations: 0.5146 MB / 0.9411 GB, free: 15.67 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.7741, allocations: 9.656 kB / 0.9411 GB, free: 15.67 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.7744, allocations: 43.69 kB / 0.9412 GB, free: 15.66 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.7747, allocations: 256.3 kB / 0.9414 GB, free: 15.45 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.7748, allocations: 133.9 kB / 0.9415 GB, free: 15.32 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.7748, allocations: 21.84 kB / 0.9416 GB, free: 15.32 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.7753, allocations: 298.5 kB / 0.9418 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.7753, allocations: 2.5 kB / 0.9418 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.7754, allocations: 9.938 kB / 0.9419 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.7754, allocations: 6.531 kB / 0.9419 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.7757, allocations: 155.9 kB / 0.942 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.7771, allocations: 1.585 MB / 0.9436 GB, free: 13.89 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.752e-05/0.7771, allocations: 170.8 kB / 0.9437 GB, free: 13.72 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.7772, allocations: 80.14 kB / 0.9438 GB, free: 13.64 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.7772, allocations: 75.28 kB / 0.9439 GB, free: 13.56 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.7773, allocations: 112.8 kB / 0.944 GB, free: 13.45 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.7773, allocations: 0 / 0.944 GB, free: 13.45 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 8.471e-05/0.7774, allocations: 50.72 kB / 0.944 GB, free: 13.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.7774, allocations: 130.1 kB / 0.9441 GB, free: 13.27 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.7777, allocations: 313.3 kB / 0.9444 GB, free: 13.16 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.7778, allocations: 25.7 kB / 0.9445 GB, free: 13.12 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.7779, allocations: 186.5 kB / 0.9446 GB, free: 12.99 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-06/0.7779, allocations: 4.562 kB / 0.9447 GB, free: 12.99 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/0.778, allocations: 47.05 kB / 0.9447 GB, free: 12.97 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.7781, allocations: 332.4 kB / 0.945 GB, free: 12.66 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.7782, allocations: 37.25 kB / 0.945 GB, free: 12.66 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.7784, allocations: 161.5 kB / 0.9452 GB, free: 12.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.7786, allocations: 199.2 kB / 0.9454 GB, free: 12.33 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.7786, allocations: 6.5 kB / 0.9454 GB, free: 12.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003895/0.779, allocations: 212.8 kB / 0.9456 GB, free: 12.28 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.779, allocations: 12.69 kB / 0.9456 GB, free: 12.28 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.779, allocations: 6.75 kB / 0.9456 GB, free: 12.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.7791, allocations: 12.08 kB / 0.9456 GB, free: 12.27 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.7792, allocations: 43.55 kB / 0.9457 GB, free: 12.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.7792, allocations: 7.219 kB / 0.9457 GB, free: 12.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.7794, allocations: 33.62 kB / 0.9457 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.7794, allocations: 10.28 kB / 0.9457 GB, free: 12.25 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001349/0.7796, allocations: 219.6 kB / 0.9459 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.7796, allocations: 123 kB / 0.946 GB, free: 11.94 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.7797, allocations: 129.7 kB / 0.9462 GB, free: 11.83 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.955e-05/0.7798, allocations: 178.1 kB / 0.9463 GB, free: 11.65 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.063e-05/0.7798, allocations: 180.6 kB / 0.9465 GB, free: 11.47 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-05/0.7799, allocations: 181.9 kB / 0.9467 GB, free: 11.29 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.7802, allocations: 482.3 kB / 0.9471 GB, free: 10.85 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-05/0.7802, allocations: 108.7 kB / 0.9473 GB, free: 10.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.7802, allocations: 102.9 kB / 0.9474 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.482e-05/0.7803, allocations: 178.2 kB / 0.9475 GB, free: 10.46 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.7804, allocations: 188.5 kB / 0.9477 GB, free: 10.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.587e-05/0.7804, allocations: 188.8 kB / 0.9479 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.161e-05/0.7805, allocations: 182 kB / 0.9481 GB, free: 9.902 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.7809, allocations: 0.8907 MB / 0.9489 GB, free: 8.996 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.781, allocations: 209.8 kB / 0.9491 GB, free: 8.785 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.625e-05/0.7811, allocations: 188.5 kB / 0.9493 GB, free: 8.602 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.7812, allocations: 101 kB / 0.9494 GB, free: 8.496 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.7813, allocations: 181.4 kB / 0.9496 GB, free: 8.316 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.7813, allocations: 105.7 kB / 0.9497 GB, free: 8.211 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002041/0.7815, allocations: 218.6 kB / 0.9499 GB, free: 8.133 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/0.7815, allocations: 0 / 0.9499 GB, free: 8.133 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004435/0.782, allocations: 54.03 kB / 0.9499 GB, free: 8.125 MB / 0.573 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.0003239/0.7823, allocations: 203.8 kB / 0.9501 GB, free: 7.961 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001838/0.7825, allocations: 83.69 kB / 0.9502 GB, free: 7.957 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7825, allocations: 0 / 0.9502 GB, free: 7.957 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.7825, allocations: 1.094 kB / 0.9502 GB, free: 7.957 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.7831, allocations: 0.5554 MB / 0.9508 GB, free: 7.426 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.7836, allocations: 451.6 kB / 0.9512 GB, free: 7.094 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.7839, allocations: 0.7442 MB / 0.9519 GB, free: 6.395 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.7841, allocations: 34.92 kB / 0.9519 GB, free: 6.387 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.7841, allocations: 15.5 kB / 0.952 GB, free: 6.379 MB / 0.573 GB Notification: Performance of SimCode: time 2.41e-07/0.7841, allocations: 1.203 kB / 0.952 GB, free: 6.379 MB / 0.573 GB Notification: Performance of Templates: time 0.004242/0.7884, allocations: 1.812 MB / 0.9537 GB, free: 6.211 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)