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: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004015/0.004015, allocations: 102.1 kB / 15.73 MB, free: 6.488 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.00122/0.00122, allocations: 197.5 kB / 16.68 MB, free: 6.363 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002522/0.002522, allocations: 274.9 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9581/0.9581, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 100.3 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1445, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4387/0.5832, allocations: 170.3 MB / 0.9322 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006486/0.5897, allocations: 6.006 MB / 0.9381 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.59, allocations: 11.94 kB / 0.9381 GB, free: 2.742 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.0005833/0.5906, allocations: 186.7 kB / 0.9383 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.5908, allocations: 87.38 kB / 0.9384 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.5919, allocations: 0.5216 MB / 0.9389 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004738/0.5924, allocations: 410.7 kB / 0.9393 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.5927, allocations: 136.6 kB / 0.9394 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.593, allocations: 191.3 kB / 0.9396 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.5932, allocations: 155.4 kB / 0.9397 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.5933, allocations: 19.98 kB / 0.9398 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007243/0.594, allocations: 450.8 kB / 0.9402 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 8.643e-05/0.5941, allocations: 71.81 kB / 0.9403 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.5942, allocations: 111.5 kB / 0.9404 GB, free: 440 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0006085/0.5948, allocations: 448 kB / 0.9408 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.5948, allocations: 0 / 0.9408 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5948, allocations: 0 / 0.9408 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.5949, allocations: 0 / 0.9408 GB, free: 15.99 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.0006093/0.5955, allocations: 0.5296 MB / 0.9413 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.5955, allocations: 8.031 kB / 0.9413 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/0.5956, allocations: 58.55 kB / 0.9414 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.5958, allocations: 51.8 kB / 0.9414 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.5962, allocations: 255.3 kB / 0.9417 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.5964, allocations: 139.4 kB / 0.9418 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.5964, allocations: 16 kB / 0.9418 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.5968, allocations: 303.8 kB / 0.9421 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.5969, allocations: 0 / 0.9421 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.5969, allocations: 12 kB / 0.9421 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.5969, allocations: 8 kB / 0.9421 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.5972, allocations: 164.5 kB / 0.9423 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.5986, allocations: 1.579 MB / 0.9438 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 8.573e-05/0.5987, allocations: 173.1 kB / 0.944 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.5987, allocations: 80.14 kB / 0.9441 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.5988, allocations: 75.28 kB / 0.9441 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.5988, allocations: 113.8 kB / 0.9442 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.5988, allocations: 0 / 0.9442 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 9.28e-05/0.5989, allocations: 53.48 kB / 0.9443 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.599, allocations: 130.7 kB / 0.9444 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.5994, allocations: 310.6 kB / 0.9447 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.5994, allocations: 25.7 kB / 0.9447 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.5995, allocations: 195.7 kB / 0.9449 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.631e-06/0.5995, allocations: 3.984 kB / 0.9449 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.5996, allocations: 41.67 kB / 0.945 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5998, allocations: 330.8 kB / 0.9453 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.013e-05/0.5999, allocations: 39.97 kB / 0.9453 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.6, allocations: 171.3 kB / 0.9455 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.6003, allocations: 196.9 kB / 0.9457 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6003, allocations: 1.625 kB / 0.9457 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003923/0.6007, allocations: 217.1 kB / 0.9459 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.6007, allocations: 11.94 kB / 0.9459 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6007, allocations: 4 kB / 0.9459 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.6007, allocations: 4.625 kB / 0.9459 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.6009, allocations: 39.92 kB / 0.9459 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.6009, allocations: 11.98 kB / 0.946 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.6011, allocations: 35.73 kB / 0.946 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.6011, allocations: 8 kB / 0.946 GB, free: 10.21 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.0001447/0.6013, allocations: 225.6 kB / 0.9462 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.388e-05/0.6014, allocations: 128.8 kB / 0.9463 GB, free: 9.852 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.949e-05/0.6014, allocations: 121.8 kB / 0.9464 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.127e-05/0.6015, allocations: 184.2 kB / 0.9466 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-05/0.6016, allocations: 176.3 kB / 0.9468 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-05/0.6017, allocations: 180.3 kB / 0.947 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.602, allocations: 485.1 kB / 0.9474 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.222e-05/0.6021, allocations: 104.8 kB / 0.9475 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.6021, allocations: 112.9 kB / 0.9476 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.991e-05/0.6022, allocations: 184.2 kB / 0.9478 GB, free: 8.23 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-05/0.6023, allocations: 180.3 kB / 0.948 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-05/0.6024, allocations: 180.2 kB / 0.9482 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.346e-05/0.6024, allocations: 176.3 kB / 0.9483 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.6026, allocations: 331.6 kB / 0.9486 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.6027, allocations: 213.9 kB / 0.9488 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.556e-05/0.6028, allocations: 188.1 kB / 0.949 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.603, allocations: 105 kB / 0.9491 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.6031, allocations: 184.2 kB / 0.9493 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.6031, allocations: 105 kB / 0.9494 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002362/0.6033, allocations: 221.9 kB / 0.9496 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6033, allocations: 0 / 0.9496 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004373/0.6038, allocations: 47.94 kB / 0.9497 GB, free: 6.242 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.0005437/0.6043, allocations: 0.8678 MB / 0.9505 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.6045, allocations: 76.41 kB / 0.9506 GB, free: 5.273 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6045, allocations: 4 kB / 0.9506 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.6045, allocations: 0 / 0.9506 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/0.6051, allocations: 480.9 kB / 0.951 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.6077, allocations: 2.511 MB / 0.9535 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.608, allocations: 0.7437 MB / 0.9542 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.6081, allocations: 33.94 kB / 0.9542 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.411e-05/0.6082, allocations: 55.41 kB / 0.9543 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of SimCode: time 2.41e-07/0.6082, allocations: 0 / 0.9543 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.266/1.875, allocations: 4.061 MB / 0.9583 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/15.67, allocations: 16.75 kB / 0.9583 GB, free: 13.3 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)