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.007473/0.007473, allocations: 103.2 kB / 15.73 MB, free: 5.996 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.001845/0.001845, allocations: 194.7 kB / 16.67 MB, free: 5.922 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002225/0.002225, allocations: 279.1 kB / 290.8 MB, free: 1.754 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1/1, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 96.22 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1729, allocations: 86.98 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5726/0.7456, allocations: 170.3 MB / 0.9322 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006542/0.7522, allocations: 6.01 MB / 0.9381 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.7526, allocations: 7.938 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.0006553/0.7533, allocations: 183.6 kB / 0.9383 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.7536, allocations: 99.36 kB / 0.9384 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.7548, allocations: 0.5138 MB / 0.9389 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.7552, allocations: 418.6 kB / 0.9393 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.7555, allocations: 140.4 kB / 0.9394 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.7558, allocations: 191.3 kB / 0.9396 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.7561, allocations: 155.4 kB / 0.9397 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.7561, allocations: 16 kB / 0.9397 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007824/0.7569, allocations: 454.8 kB / 0.9402 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.757, allocations: 67.81 kB / 0.9402 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.7571, allocations: 103.5 kB / 0.9403 GB, free: 440 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.7578, allocations: 450.7 kB / 0.9408 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.7578, allocations: 0 / 0.9408 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7578, allocations: 0 / 0.9408 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.7578, allocations: 0 / 0.9408 GB, free: 15.98 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.0006671/0.7585, allocations: 0.5248 MB / 0.9413 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.7585, allocations: 8.031 kB / 0.9413 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/0.7586, allocations: 62.48 kB / 0.9414 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002741/0.7589, allocations: 43.7 kB / 0.9414 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.7593, allocations: 270.5 kB / 0.9417 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.7595, allocations: 135.4 kB / 0.9418 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.7595, allocations: 16 kB / 0.9418 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.76, allocations: 299.5 kB / 0.9421 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.76, allocations: 0 / 0.9421 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.76, allocations: 7.984 kB / 0.9421 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.76, allocations: 8 kB / 0.9421 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.7604, allocations: 160.6 kB / 0.9422 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.7618, allocations: 1.579 MB / 0.9438 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 8.177e-05/0.7619, allocations: 173.1 kB / 0.944 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.762, allocations: 84.14 kB / 0.944 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.762, allocations: 75.28 kB / 0.9441 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.7621, allocations: 113.8 kB / 0.9442 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7621, allocations: 0 / 0.9442 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 9.609e-05/0.7622, allocations: 49.36 kB / 0.9443 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.7623, allocations: 126.7 kB / 0.9444 GB, free: 12 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.7626, allocations: 310.6 kB / 0.9447 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.7626, allocations: 29.7 kB / 0.9447 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.7628, allocations: 191.1 kB / 0.9449 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-06/0.7628, allocations: 8 kB / 0.9449 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/0.7628, allocations: 41.61 kB / 0.9449 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.763, allocations: 330.8 kB / 0.9453 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.7631, allocations: 41.53 kB / 0.9453 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.7633, allocations: 161.1 kB / 0.9454 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.7635, allocations: 200.9 kB / 0.9456 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7635, allocations: 0 / 0.9456 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003996/0.7639, allocations: 213.6 kB / 0.9458 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.7639, allocations: 11.94 kB / 0.9459 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.764, allocations: 7.984 kB / 0.9459 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.764, allocations: 8 kB / 0.9459 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.7641, allocations: 35.92 kB / 0.9459 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.7642, allocations: 8 kB / 0.9459 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.7643, allocations: 27.69 kB / 0.9459 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.7644, allocations: 12 kB / 0.9459 GB, free: 10.23 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.0001429/0.7645, allocations: 225.7 kB / 0.9462 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.074e-05/0.7646, allocations: 128.6 kB / 0.9463 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.121e-05/0.7647, allocations: 121.8 kB / 0.9464 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.914e-05/0.7647, allocations: 180.2 kB / 0.9466 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.807e-05/0.7648, allocations: 181.6 kB / 0.9467 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001355/0.765, allocations: 180.2 kB / 0.9469 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.7653, allocations: 493 kB / 0.9474 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-05/0.7654, allocations: 101.1 kB / 0.9475 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.7654, allocations: 108.9 kB / 0.9476 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-05/0.7655, allocations: 192.1 kB / 0.9478 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.7656, allocations: 176.3 kB / 0.9479 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-05/0.7656, allocations: 184.2 kB / 0.9481 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.495e-05/0.7657, allocations: 187.8 kB / 0.9483 GB, free: 7.68 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.7659, allocations: 315.6 kB / 0.9486 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.7661, allocations: 209.7 kB / 0.9488 GB, free: 7.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.7662, allocations: 196.2 kB / 0.949 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.7663, allocations: 105 kB / 0.9491 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.7664, allocations: 180.2 kB / 0.9493 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.7664, allocations: 101 kB / 0.9494 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002203/0.7667, allocations: 217.9 kB / 0.9496 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7667, allocations: 0 / 0.9496 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003424/0.767, allocations: 55.94 kB / 0.9496 GB, free: 6.254 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.0005506/0.7676, allocations: 0.8592 MB / 0.9505 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.7678, allocations: 75.78 kB / 0.9505 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7678, allocations: 1.25 kB / 0.9505 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 3.407e-06/0.7678, allocations: 4 kB / 0.9505 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.7683, allocations: 482.1 kB / 0.951 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.771, allocations: 2.513 MB / 0.9534 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.7714, allocations: 0.7398 MB / 0.9542 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000124/0.7715, allocations: 34.94 kB / 0.9542 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.7716, allocations: 51.42 kB / 0.9542 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of SimCode: time 9.22e-07/0.7717, allocations: 0 / 0.9542 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.7961, allocations: 4.017 MB / 0.9582 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/8.212, allocations: 8.75 kB / 0.9582 GB, free: 13.38 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)