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.001496/0.001496, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 195.6 kB / 16.63 MB, free: 6.609 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.319/1.319, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 286.9 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9419/0.9419, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 95.84 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1745, allocations: 86.98 MB / 0.7663 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5856/0.7601, allocations: 170.3 MB / 0.9327 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00656/0.7667, allocations: 6.007 MB / 0.9385 GB, free: 2.449 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003344/0.7671, allocations: 7.938 kB / 0.9385 GB, free: 2.441 MB / 0.6856 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.0006795/0.7678, allocations: 190.7 kB / 0.9387 GB, free: 2.254 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003781/0.7682, allocations: 91.44 kB / 0.9388 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.7696, allocations: 0.5099 MB / 0.9393 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0005165/0.7701, allocations: 414.7 kB / 0.9397 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002682/0.7704, allocations: 139.5 kB / 0.9398 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.7707, allocations: 195.3 kB / 0.94 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.7709, allocations: 151.4 kB / 0.9402 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.771, allocations: 16 kB / 0.9402 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007415/0.7717, allocations: 454.8 kB / 0.9406 GB, free: 312 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 8.559e-05/0.7718, allocations: 67.81 kB / 0.9407 GB, free: 244 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.7719, allocations: 107.4 kB / 0.9408 GB, free: 136 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.7725, allocations: 449.5 kB / 0.9412 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7726, allocations: 0 / 0.9412 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7726, allocations: 3.938 kB / 0.9412 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.7726, allocations: 4 kB / 0.9412 GB, free: 15.69 MB / 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.0005952/0.7732, allocations: 0.523 MB / 0.9417 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.7732, allocations: 8.031 kB / 0.9417 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.7735, allocations: 43.7 kB / 0.9418 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.7739, allocations: 270.5 kB / 0.942 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.774, allocations: 131.4 kB / 0.9421 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.774, allocations: 20 kB / 0.9422 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.7745, allocations: 294.8 kB / 0.9424 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.7745, allocations: 4 kB / 0.9424 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.7746, allocations: 11.94 kB / 0.9425 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.7746, allocations: 8 kB / 0.9425 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.7749, allocations: 152.6 kB / 0.9426 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.7761, allocations: 1.583 MB / 0.9442 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 7.034e-05/0.7762, allocations: 165.1 kB / 0.9443 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.7762, allocations: 80.14 kB / 0.9444 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.7763, allocations: 79.22 kB / 0.9445 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.7763, allocations: 113.8 kB / 0.9446 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.7763, allocations: 0 / 0.9446 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 8.573e-05/0.7764, allocations: 45.45 kB / 0.9446 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.7765, allocations: 130.7 kB / 0.9447 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.7768, allocations: 310.5 kB / 0.945 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.7768, allocations: 25.7 kB / 0.9451 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.777, allocations: 195.1 kB / 0.9453 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-06/0.777, allocations: 3.938 kB / 0.9453 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.777, allocations: 49.61 kB / 0.9453 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7771, allocations: 330.8 kB / 0.9456 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.7772, allocations: 39.97 kB / 0.9457 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.7774, allocations: 163.3 kB / 0.9458 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.7776, allocations: 200.9 kB / 0.946 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7776, allocations: 0 / 0.946 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000395/0.778, allocations: 214.2 kB / 0.9462 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.7781, allocations: 12 kB / 0.9462 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.7781, allocations: 7.938 kB / 0.9462 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.7781, allocations: 4 kB / 0.9462 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.7783, allocations: 43.92 kB / 0.9463 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.7783, allocations: 11.92 kB / 0.9463 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.7785, allocations: 28.62 kB / 0.9463 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.7785, allocations: 12 kB / 0.9463 GB, free: 9.996 MB / 0.7012 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.0001622/0.7787, allocations: 217.7 kB / 0.9465 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.7788, allocations: 132.7 kB / 0.9467 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.096e-05/0.7788, allocations: 125.8 kB / 0.9468 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.262e-05/0.7789, allocations: 184.1 kB / 0.947 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.378e-05/0.779, allocations: 180.3 kB / 0.9471 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-05/0.7791, allocations: 180.2 kB / 0.9473 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.7794, allocations: 485.1 kB / 0.9478 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.812e-05/0.7795, allocations: 103.1 kB / 0.9479 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.7795, allocations: 112.9 kB / 0.948 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.184e-05/0.7796, allocations: 176.3 kB / 0.9481 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/0.7797, allocations: 188.1 kB / 0.9483 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.221e-05/0.7797, allocations: 176.3 kB / 0.9485 GB, free: 7.645 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.108e-05/0.7798, allocations: 184.3 kB / 0.9487 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.78, allocations: 319.6 kB / 0.949 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.7801, allocations: 205.8 kB / 0.9492 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.7802, allocations: 188.2 kB / 0.9493 GB, free: 6.703 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.7804, allocations: 109 kB / 0.9494 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.7805, allocations: 180.2 kB / 0.9496 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.7805, allocations: 105 kB / 0.9497 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002505/0.7808, allocations: 217.9 kB / 0.9499 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.443e-06/0.7808, allocations: 0 / 0.9499 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003918/0.7812, allocations: 59.78 kB / 0.95 GB, free: 6.027 MB / 0.7012 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.0003071/0.7815, allocations: 202.5 kB / 0.9502 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.7817, allocations: 84.28 kB / 0.9503 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7817, allocations: 3.938 kB / 0.9503 GB, free: 5.734 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.7817, allocations: 4 kB / 0.9503 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.7823, allocations: 485.8 kB / 0.9507 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.7828, allocations: 389.7 kB / 0.9511 GB, free: 4.844 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.7831, allocations: 0.7437 MB / 0.9518 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.7832, allocations: 29.94 kB / 0.9518 GB, free: 4.047 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.7833, allocations: 19.44 kB / 0.9519 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of SimCode: time 2.31e-07/0.7833, allocations: 0 / 0.9519 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of Templates: time 0.004841/0.7881, allocations: 1.818 MB / 0.9536 GB, free: 2.238 MB / 0.7012 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)