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.005408/0.005408, allocations: 102.8 kB / 15.73 MB, free: 6 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.001257/0.001257, allocations: 191.7 kB / 16.67 MB, free: 5.926 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.276/1.276, allocations: 222.9 MB / 240.4 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.002132/0.002132, allocations: 291.5 kB / 290.8 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 0.937/0.937, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 99.84 kB / 0.6814 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4874, allocations: 86.98 MB / 0.7664 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.184/0.6714, allocations: 170.3 MB / 0.9327 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007852/0.6793, allocations: 5.999 MB / 0.9386 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004482/0.6798, allocations: 11.94 kB / 0.9386 GB, free: 2.883 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.0009086/0.6808, allocations: 186.7 kB / 0.9388 GB, free: 2.699 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0004043/0.6812, allocations: 95.36 kB / 0.9388 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.6827, allocations: 0.5138 MB / 0.9394 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0005823/0.6833, allocations: 418.7 kB / 0.9398 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.6837, allocations: 135.6 kB / 0.9399 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.6841, allocations: 195.2 kB / 0.9401 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.6844, allocations: 143.4 kB / 0.9402 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.6844, allocations: 20 kB / 0.9402 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009027/0.6853, allocations: 462.8 kB / 0.9407 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.6855, allocations: 63.83 kB / 0.9407 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.6856, allocations: 111.5 kB / 0.9408 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007734/0.6864, allocations: 457.1 kB / 0.9413 GB, free: 124 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.6864, allocations: 0 / 0.9413 GB, free: 124 kB / 0.7012 GB Notification: Performance of FrontEnd: time 3.326e-06/0.6865, allocations: 0 / 0.9413 GB, free: 124 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.6865, allocations: 0 / 0.9413 GB, free: 124 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.0008615/0.6873, allocations: 0.5145 MB / 0.9418 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.6874, allocations: 12.03 kB / 0.9418 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.6878, allocations: 43.7 kB / 0.9418 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.6884, allocations: 261.3 kB / 0.9421 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.6885, allocations: 131.4 kB / 0.9422 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.6886, allocations: 28 kB / 0.9422 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005331/0.6891, allocations: 294.7 kB / 0.9425 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.6892, allocations: 4 kB / 0.9425 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.6892, allocations: 12 kB / 0.9425 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.6892, allocations: 8 kB / 0.9425 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.6896, allocations: 156.6 kB / 0.9427 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.6911, allocations: 1.579 MB / 0.9442 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.6913, allocations: 173.1 kB / 0.9444 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.6913, allocations: 80.14 kB / 0.9445 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.6914, allocations: 75.28 kB / 0.9445 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/0.6914, allocations: 109.8 kB / 0.9446 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.6914, allocations: 3.938 kB / 0.9446 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001172/0.6916, allocations: 57.44 kB / 0.9447 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.6916, allocations: 130.6 kB / 0.9448 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.692, allocations: 310.5 kB / 0.9451 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.6921, allocations: 25.7 kB / 0.9451 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.6922, allocations: 187.2 kB / 0.9453 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.285e-06/0.6922, allocations: 7.984 kB / 0.9453 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.6923, allocations: 41.7 kB / 0.9454 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6925, allocations: 326.8 kB / 0.9457 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.6926, allocations: 39.97 kB / 0.9457 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.6928, allocations: 153.2 kB / 0.9459 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.693, allocations: 196.8 kB / 0.946 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6931, allocations: 4 kB / 0.9461 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004539/0.6935, allocations: 224.9 kB / 0.9463 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.6935, allocations: 11.88 kB / 0.9463 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.6936, allocations: 8.625 kB / 0.9463 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.6936, allocations: 4 kB / 0.9463 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.6938, allocations: 39.92 kB / 0.9463 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.6938, allocations: 15.92 kB / 0.9463 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.6939, allocations: 31.69 kB / 0.9464 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.694, allocations: 8 kB / 0.9464 GB, free: 10.44 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.0001725/0.6942, allocations: 223.4 kB / 0.9466 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.6943, allocations: 128.7 kB / 0.9467 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.046e-05/0.6944, allocations: 125.8 kB / 0.9468 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.175e-05/0.6945, allocations: 180.3 kB / 0.947 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001091/0.6946, allocations: 184.2 kB / 0.9472 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-05/0.6947, allocations: 176.3 kB / 0.9474 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.6951, allocations: 481.1 kB / 0.9478 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.734e-05/0.6952, allocations: 108.9 kB / 0.9479 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.6952, allocations: 109 kB / 0.948 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.232e-05/0.6953, allocations: 188.1 kB / 0.9482 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.6954, allocations: 180.3 kB / 0.9484 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.186e-05/0.6955, allocations: 180.3 kB / 0.9485 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-05/0.6956, allocations: 180.2 kB / 0.9487 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.6959, allocations: 327.6 kB / 0.949 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.696, allocations: 202.2 kB / 0.9492 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.6962, allocations: 180.2 kB / 0.9494 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.6963, allocations: 109 kB / 0.9495 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.6964, allocations: 184.3 kB / 0.9497 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.6965, allocations: 112.9 kB / 0.9498 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002753/0.6967, allocations: 221.9 kB / 0.95 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6968, allocations: 0 / 0.95 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004193/0.6972, allocations: 55.78 kB / 0.95 GB, free: 6.465 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.0004099/0.6976, allocations: 206.5 kB / 0.9502 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.6978, allocations: 80.64 kB / 0.9503 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6979, allocations: 384 / 0.9503 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.6979, allocations: 4 kB / 0.9503 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.6984, allocations: 480.2 kB / 0.9508 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.6991, allocations: 412.7 kB / 0.9512 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.6994, allocations: 0.7281 MB / 0.9519 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.6996, allocations: 33.94 kB / 0.9519 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.6996, allocations: 19.44 kB / 0.9519 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6996, allocations: 0 / 0.9519 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of Templates: time 0.005029/0.7046, allocations: 1.878 MB / 0.9538 GB, free: 2.598 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)