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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 106.4 kB / 16.41 MB, free: 6.5 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.001786/0.001786, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002598/0.002598, allocations: 293.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.043/1.043, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 99.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5492/0.5521, allocations: 86.97 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2197/0.7718, allocations: 170.8 MB / 0.9338 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007716/0.7795, allocations: 6.003 MB / 0.9397 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003403/0.7798, allocations: 11.94 kB / 0.9397 GB, free: 2.441 MB / 0.7012 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.000815/0.7807, allocations: 194.7 kB / 0.9399 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.781, allocations: 95.38 kB / 0.94 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.7825, allocations: 0.5255 MB / 0.9405 GB, free: 1.629 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0005452/0.783, allocations: 418.7 kB / 0.9409 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.7833, allocations: 95.66 kB / 0.941 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.7836, allocations: 195.2 kB / 0.9412 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.7839, allocations: 147.4 kB / 0.9413 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.7839, allocations: 16 kB / 0.9413 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008193/0.7847, allocations: 458.8 kB / 0.9418 GB, free: 328 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.7849, allocations: 79.75 kB / 0.9418 GB, free: 248 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.785, allocations: 99.48 kB / 0.9419 GB, free: 148 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007515/0.7857, allocations: 460.1 kB / 0.9424 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7857, allocations: 0 / 0.9424 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7857, allocations: 4 kB / 0.9424 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.7858, allocations: 0 / 0.9424 GB, free: 15.7 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007971/0.7866, allocations: 0.518 MB / 0.9429 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.7866, allocations: 12.02 kB / 0.9429 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.7869, allocations: 47.8 kB / 0.9429 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.7874, allocations: 266 kB / 0.9432 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.7876, allocations: 131.4 kB / 0.9433 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.7876, allocations: 27.94 kB / 0.9433 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005344/0.7882, allocations: 298.7 kB / 0.9436 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.7882, allocations: 0 / 0.9436 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.7882, allocations: 15.94 kB / 0.9436 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.7882, allocations: 8 kB / 0.9437 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.7886, allocations: 152.6 kB / 0.9438 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.7902, allocations: 1.587 MB / 0.9454 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.7903, allocations: 169.1 kB / 0.9455 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.7904, allocations: 84.14 kB / 0.9456 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.7904, allocations: 83.27 kB / 0.9457 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.589e-05/0.7905, allocations: 105.8 kB / 0.9458 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.7905, allocations: 0 / 0.9458 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001112/0.7906, allocations: 53.5 kB / 0.9458 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.7907, allocations: 130.6 kB / 0.9459 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004069/0.7911, allocations: 314.6 kB / 0.9462 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.7911, allocations: 25.7 kB / 0.9463 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.7912, allocations: 195.7 kB / 0.9465 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-06/0.7913, allocations: 0 / 0.9465 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.7913, allocations: 45.66 kB / 0.9465 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.7915, allocations: 326.8 kB / 0.9468 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.28e-05/0.7916, allocations: 39.97 kB / 0.9469 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.7918, allocations: 161.1 kB / 0.947 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.7921, allocations: 204.8 kB / 0.9472 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7921, allocations: 0 / 0.9472 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004308/0.7925, allocations: 213.6 kB / 0.9474 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.7925, allocations: 11.94 kB / 0.9474 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7926, allocations: 4 kB / 0.9474 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.7926, allocations: 4 kB / 0.9474 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.7927, allocations: 43.92 kB / 0.9475 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.7928, allocations: 7.938 kB / 0.9475 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.7929, allocations: 35.73 kB / 0.9475 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.7929, allocations: 8 kB / 0.9475 GB, free: 9.996 MB / 0.7169 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.0001927/0.7931, allocations: 225.2 kB / 0.9477 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.7933, allocations: 124.9 kB / 0.9479 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.538e-05/0.7933, allocations: 129.8 kB / 0.948 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.515e-05/0.7934, allocations: 176.3 kB / 0.9481 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.483e-05/0.7935, allocations: 184.2 kB / 0.9483 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001201/0.7936, allocations: 184.2 kB / 0.9485 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.794, allocations: 481.1 kB / 0.949 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.135e-05/0.7941, allocations: 108.9 kB / 0.9491 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.185e-05/0.7941, allocations: 101 kB / 0.9492 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.7942, allocations: 184.1 kB / 0.9493 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.504e-05/0.7943, allocations: 180.2 kB / 0.9495 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.551e-05/0.7944, allocations: 188.2 kB / 0.9497 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-05/0.7945, allocations: 180.2 kB / 0.9499 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.7947, allocations: 323.6 kB / 0.9502 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.7949, allocations: 206.2 kB / 0.9504 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.795, allocations: 188.2 kB / 0.9505 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.7952, allocations: 105 kB / 0.9506 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.7953, allocations: 192.3 kB / 0.9508 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/0.7953, allocations: 104.9 kB / 0.9509 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002643/0.7956, allocations: 217.9 kB / 0.9511 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7956, allocations: 0 / 0.9511 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003504/0.796, allocations: 47.94 kB / 0.9512 GB, free: 6.023 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.0003112/0.7963, allocations: 214.4 kB / 0.9514 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.7965, allocations: 79.78 kB / 0.9515 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7965, allocations: 0 / 0.9515 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.7965, allocations: 0 / 0.9515 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.797, allocations: 485.5 kB / 0.9519 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/0.7977, allocations: 404.3 kB / 0.9523 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.7981, allocations: 0.7437 MB / 0.953 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.7982, allocations: 33.94 kB / 0.9531 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.7983, allocations: 15.44 kB / 0.9531 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.7983, allocations: 0 / 0.9531 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of Templates: time 0.005743/0.804, allocations: 1.872 MB / 0.9549 GB, free: 2.156 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)