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.006437/0.006437, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001403/0.001403, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002219/0.002219, allocations: 271.2 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9589/0.9589, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002556, allocations: 95.86 kB / 0.681 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1686, allocations: 86.97 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5643/0.733, allocations: 170.3 MB / 0.9322 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00815/0.7412, allocations: 5.995 MB / 0.9381 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003693/0.7416, allocations: 7.938 kB / 0.9381 GB, free: 2.82 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.0007576/0.7424, allocations: 199.4 kB / 0.9383 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003967/0.7428, allocations: 87.44 kB / 0.9384 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.7441, allocations: 0.5177 MB / 0.9389 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.7446, allocations: 414.6 kB / 0.9393 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.7449, allocations: 139.5 kB / 0.9394 GB, free: 1.473 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.7453, allocations: 195.3 kB / 0.9396 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.7456, allocations: 147.4 kB / 0.9397 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.7456, allocations: 16 kB / 0.9397 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008/0.7464, allocations: 462.8 kB / 0.9402 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.7466, allocations: 71.75 kB / 0.9402 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.7467, allocations: 103.5 kB / 0.9403 GB, free: 0.4961 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0007743/0.7475, allocations: 450.6 kB / 0.9408 GB, free: 56 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.7475, allocations: 0 / 0.9408 GB, free: 56 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7476, allocations: 0 / 0.9408 GB, free: 56 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.7476, allocations: 8 kB / 0.9408 GB, free: 48 kB / 0.6856 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.0007071/0.7483, allocations: 0.5113 MB / 0.9413 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.7483, allocations: 8.031 kB / 0.9413 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.327e-05/0.7484, allocations: 62.55 kB / 0.9413 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.7487, allocations: 39.7 kB / 0.9414 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.7491, allocations: 272.7 kB / 0.9416 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.7493, allocations: 131.4 kB / 0.9418 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.7493, allocations: 24 kB / 0.9418 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.7498, allocations: 294.8 kB / 0.9421 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.7498, allocations: 3.938 kB / 0.9421 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.7498, allocations: 12 kB / 0.9421 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.7498, allocations: 4 kB / 0.9421 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.7502, allocations: 160.6 kB / 0.9422 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.7517, allocations: 1.583 MB / 0.9438 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 8.188e-05/0.7518, allocations: 165.1 kB / 0.944 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.7518, allocations: 84.14 kB / 0.944 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.7519, allocations: 79.22 kB / 0.9441 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.7519, allocations: 113.8 kB / 0.9442 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.7519, allocations: 0 / 0.9442 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 9.803e-05/0.752, allocations: 53.34 kB / 0.9443 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.7521, allocations: 126.7 kB / 0.9444 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.7525, allocations: 306.6 kB / 0.9447 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.7525, allocations: 29.7 kB / 0.9447 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.7526, allocations: 187.2 kB / 0.9449 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.7526, allocations: 11.98 kB / 0.9449 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/0.7527, allocations: 41.61 kB / 0.9449 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.7529, allocations: 330.8 kB / 0.9453 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.825e-05/0.753, allocations: 35.97 kB / 0.9453 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.7531, allocations: 159.3 kB / 0.9454 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.7534, allocations: 200.9 kB / 0.9456 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.7534, allocations: 4 kB / 0.9456 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005317/0.7539, allocations: 221.4 kB / 0.9458 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.754, allocations: 11.94 kB / 0.9459 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.754, allocations: 4 kB / 0.9459 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.754, allocations: 8 kB / 0.9459 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.7542, allocations: 35.92 kB / 0.9459 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.7542, allocations: 15.92 kB / 0.9459 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.7544, allocations: 33.44 kB / 0.946 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.7544, allocations: 12 kB / 0.946 GB, free: 10.29 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.000149/0.7546, allocations: 221.8 kB / 0.9462 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.851e-05/0.7547, allocations: 124.6 kB / 0.9463 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.328e-05/0.7547, allocations: 121.8 kB / 0.9464 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-05/0.7548, allocations: 188.2 kB / 0.9466 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-05/0.7549, allocations: 176.3 kB / 0.9468 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.255e-05/0.755, allocations: 180.2 kB / 0.9469 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.7554, allocations: 481.1 kB / 0.9474 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.936e-05/0.7554, allocations: 105.1 kB / 0.9475 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.397e-05/0.7555, allocations: 116.9 kB / 0.9476 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.398e-05/0.7556, allocations: 184.2 kB / 0.9478 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.7556, allocations: 180.2 kB / 0.9479 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.608e-05/0.7557, allocations: 180.3 kB / 0.9481 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.078e-05/0.7558, allocations: 184.2 kB / 0.9483 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.756, allocations: 317.3 kB / 0.9486 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.7561, allocations: 209.7 kB / 0.9488 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.7562, allocations: 188.2 kB / 0.949 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.7564, allocations: 105 kB / 0.9491 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.7564, allocations: 184.2 kB / 0.9493 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/0.7565, allocations: 105 kB / 0.9494 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002463/0.7567, allocations: 217.9 kB / 0.9496 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7567, allocations: 0 / 0.9496 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003636/0.7571, allocations: 55.94 kB / 0.9496 GB, free: 6.324 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.0007258/0.7578, allocations: 0.864 MB / 0.9505 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.758, allocations: 75.78 kB / 0.9505 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7581, allocations: 1.25 kB / 0.9505 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.7581, allocations: 0 / 0.9505 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.7586, allocations: 480.2 kB / 0.951 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.7615, allocations: 2.515 MB / 0.9534 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.762, allocations: 0.732 MB / 0.9542 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.7622, allocations: 33.94 kB / 0.9542 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.7623, allocations: 59.41 kB / 0.9542 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of SimCode: time 6.91e-07/0.7623, allocations: 0 / 0.9542 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.784, allocations: 4.104 MB / 0.9583 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.425/8.209, allocations: 12.69 kB / 0.9583 GB, free: 13.36 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)