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.001697/0.001696, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.002369/0.002369, allocations: 187 kB / 17.34 MB, free: 5.766 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.37/1.37, 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.002256/0.002256, allocations: 299.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.039/1.039, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.001921, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4898, allocations: 86.98 MB / 0.767 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2/0.6898, allocations: 170.3 MB / 0.9334 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006987/0.6969, allocations: 5.999 MB / 0.9392 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003641/0.6973, allocations: 7.938 kB / 0.9392 GB, free: 2.766 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.0007857/0.6981, allocations: 190.7 kB / 0.9394 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.6984, allocations: 87.44 kB / 0.9395 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.6999, allocations: 0.5215 MB / 0.94 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0005075/0.7004, allocations: 410.8 kB / 0.9404 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.7007, allocations: 136.8 kB / 0.9405 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.7011, allocations: 187.3 kB / 0.9407 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.7014, allocations: 151.4 kB / 0.9409 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.7014, allocations: 16 kB / 0.9409 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000855/0.7023, allocations: 462.8 kB / 0.9413 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.7024, allocations: 71.8 kB / 0.9414 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.7025, allocations: 99.48 kB / 0.9415 GB, free: 472 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006379/0.7031, allocations: 457.1 kB / 0.9419 GB, free: 16 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7032, allocations: 0 / 0.9419 GB, free: 16 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7032, allocations: 0 / 0.9419 GB, free: 16 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.7032, allocations: 0 / 0.9419 GB, free: 16 kB / 0.7012 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.0006611/0.7038, allocations: 0.5184 MB / 0.9424 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.7039, allocations: 12.02 kB / 0.9424 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.7042, allocations: 59.56 kB / 0.9425 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.7046, allocations: 258.6 kB / 0.9427 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.7048, allocations: 131.4 kB / 0.9429 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.7048, allocations: 20 kB / 0.9429 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.7053, allocations: 298.7 kB / 0.9432 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.7054, allocations: 7.938 kB / 0.9432 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.7054, allocations: 8 kB / 0.9432 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.7054, allocations: 8 kB / 0.9432 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.7057, allocations: 160.6 kB / 0.9433 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.7071, allocations: 1.579 MB / 0.9449 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.276e-05/0.7072, allocations: 165.1 kB / 0.945 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.7073, allocations: 88.08 kB / 0.9451 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.7073, allocations: 75.28 kB / 0.9452 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/0.7074, allocations: 113.8 kB / 0.9453 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.7074, allocations: 0 / 0.9453 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.226e-05/0.7075, allocations: 45.45 kB / 0.9454 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.7076, allocations: 130.7 kB / 0.9455 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.708, allocations: 314.5 kB / 0.9458 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.708, allocations: 25.7 kB / 0.9458 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.7081, allocations: 195.1 kB / 0.946 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/0.7081, allocations: 0 / 0.946 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.7082, allocations: 45.7 kB / 0.946 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7083, allocations: 326.8 kB / 0.9463 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.957e-05/0.7084, allocations: 39.91 kB / 0.9464 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.7086, allocations: 161.1 kB / 0.9465 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.7089, allocations: 196.9 kB / 0.9467 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7089, allocations: 0 / 0.9467 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004236/0.7093, allocations: 220.9 kB / 0.9469 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.7093, allocations: 11.94 kB / 0.9469 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.7094, allocations: 4 kB / 0.9469 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.7094, allocations: 11.94 kB / 0.947 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.7096, allocations: 39.92 kB / 0.947 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.7096, allocations: 8.531 kB / 0.947 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.7098, allocations: 31.69 kB / 0.947 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.7098, allocations: 12 kB / 0.947 GB, free: 10.32 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.000135/0.7099, allocations: 224 kB / 0.9473 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/0.71, allocations: 128.7 kB / 0.9474 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.227e-05/0.7101, allocations: 125.8 kB / 0.9475 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.064e-05/0.7102, allocations: 176.3 kB / 0.9477 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.54e-05/0.7102, allocations: 188.2 kB / 0.9478 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.919e-05/0.7103, allocations: 184.2 kB / 0.948 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.7106, allocations: 477.1 kB / 0.9485 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.972e-05/0.7107, allocations: 104.9 kB / 0.9486 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.7107, allocations: 101 kB / 0.9487 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.6e-05/0.7108, allocations: 184.2 kB / 0.9489 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.554e-05/0.7109, allocations: 184.2 kB / 0.949 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.829e-05/0.7109, allocations: 184.2 kB / 0.9492 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.427e-05/0.711, allocations: 184.2 kB / 0.9494 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.7112, allocations: 315.6 kB / 0.9497 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.7113, allocations: 210.1 kB / 0.9499 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.7114, allocations: 184.2 kB / 0.9501 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.7115, allocations: 113 kB / 0.9502 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/0.7116, allocations: 180.3 kB / 0.9503 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.7117, allocations: 105 kB / 0.9504 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002385/0.7119, allocations: 221.9 kB / 0.9506 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.763e-06/0.7119, allocations: 7.938 kB / 0.9507 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003751/0.7123, allocations: 63.77 kB / 0.9507 GB, free: 6.34 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.0002961/0.7126, allocations: 198.5 kB / 0.9509 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.7128, allocations: 79.78 kB / 0.951 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7128, allocations: 5.25 kB / 0.951 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.7128, allocations: 0 / 0.951 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.7134, allocations: 480.2 kB / 0.9514 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000624/0.714, allocations: 424.5 kB / 0.9518 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.7144, allocations: 0.7398 MB / 0.9526 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.7145, allocations: 27.31 kB / 0.9526 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.7145, allocations: 0 / 0.9526 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.00605/0.7205, allocations: 2.849 MB / 0.9554 GB, free: 1.5 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)