Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_Buildings_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.001175/0.001175, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001119/0.001119, allocations: 192 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.135/1.135, allocations: 205.1 MB / 222.1 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.447/1.447, allocations: 292.3 MB / 0.5486 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 65.98 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1615, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4456/0.6071, allocations: 168.1 MB / 0.9471 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004634/0.6117, allocations: 5.942 MB / 0.9529 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.6119, allocations: 9 kB / 0.9529 GB, free: 5.75 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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.0004754/0.6124, allocations: 165.7 kB / 0.9531 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.6127, allocations: 75.61 kB / 0.9531 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007837/0.6135, allocations: 496.5 kB / 0.9536 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.6138, allocations: 416.8 kB / 0.954 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.614, allocations: 140.8 kB / 0.9541 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.6143, allocations: 185.5 kB / 0.9543 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.6145, allocations: 148.3 kB / 0.9545 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.6145, allocations: 17.25 kB / 0.9545 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006227/0.6152, allocations: 473.2 kB / 0.9549 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.6152, allocations: 65.97 kB / 0.955 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.6154, allocations: 108.3 kB / 0.9551 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005562/0.6159, allocations: 478 kB / 0.9555 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.6159, allocations: 0 / 0.9555 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.255e-06/0.6159, allocations: 1.094 kB / 0.9555 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.6159, allocations: 2.906 kB / 0.9556 GB, free: 5.652 MB / 0.7325 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.0006326/0.6166, allocations: 0.5167 MB / 0.9561 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.6166, allocations: 9.844 kB / 0.9561 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.6167, allocations: 57.72 kB / 0.9561 GB, free: 21.19 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.6169, allocations: 46.81 kB / 0.9562 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.6171, allocations: 255.4 kB / 0.9564 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.6173, allocations: 131.5 kB / 0.9565 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.6173, allocations: 20.78 kB / 0.9566 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.6177, allocations: 296 kB / 0.9568 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.6177, allocations: 4.094 kB / 0.9568 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.6177, allocations: 9.844 kB / 0.9569 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.6178, allocations: 6.844 kB / 0.9569 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.618, allocations: 161.8 kB / 0.957 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.6191, allocations: 1.59 MB / 0.9586 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 5.248e-05/0.6191, allocations: 176.2 kB / 0.9587 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.6192, allocations: 80.14 kB / 0.9588 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.6192, allocations: 76 kB / 0.9589 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.6192, allocations: 110.9 kB / 0.959 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.6192, allocations: 0 / 0.959 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 7.087e-05/0.6193, allocations: 52.95 kB / 0.959 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.6193, allocations: 126.7 kB / 0.9592 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.6196, allocations: 314 kB / 0.9595 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.597e-06/0.6196, allocations: 25.7 kB / 0.9595 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.6197, allocations: 186.9 kB / 0.9597 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/0.6197, allocations: 11.78 kB / 0.9597 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.6198, allocations: 44.41 kB / 0.9597 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.6199, allocations: 334.5 kB / 0.96 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.62, allocations: 36.72 kB / 0.9601 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.6201, allocations: 159.9 kB / 0.9602 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.6202, allocations: 203.9 kB / 0.9604 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6203, allocations: 1.969 kB / 0.9604 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003316/0.6206, allocations: 220.6 kB / 0.9606 GB, free: 17.78 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.6206, allocations: 10.91 kB / 0.9606 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6206, allocations: 4.438 kB / 0.9606 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6206, allocations: 6.562 kB / 0.9606 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.6208, allocations: 36.23 kB / 0.9607 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.6208, allocations: 11.67 kB / 0.9607 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.621, allocations: 28.84 kB / 0.9607 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.621, allocations: 10.25 kB / 0.9607 GB, free: 17.76 MB / 0.7481 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.000111/0.6211, allocations: 222 kB / 0.9609 GB, free: 17.56 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.6212, allocations: 127.5 kB / 0.9611 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/0.6212, allocations: 119.2 kB / 0.9612 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.136e-05/0.6213, allocations: 181.5 kB / 0.9614 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.353e-05/0.6213, allocations: 181.5 kB / 0.9615 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.296e-05/0.6214, allocations: 183.4 kB / 0.9617 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.6216, allocations: 486.9 kB / 0.9622 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.659e-05/0.6217, allocations: 102.2 kB / 0.9623 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.6217, allocations: 107.8 kB / 0.9624 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-05/0.6217, allocations: 181.5 kB / 0.9625 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.6218, allocations: 184 kB / 0.9627 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.025e-05/0.6218, allocations: 180.3 kB / 0.9629 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.242e-05/0.6219, allocations: 182.5 kB / 0.9631 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.994e-05/0.622, allocations: 322.4 kB / 0.9634 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.368e-05/0.6221, allocations: 204.6 kB / 0.9636 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.6221, allocations: 186.1 kB / 0.9637 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.6223, allocations: 108.4 kB / 0.9638 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.6223, allocations: 183.6 kB / 0.964 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.6223, allocations: 107.3 kB / 0.9641 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002302/0.6226, allocations: 215.6 kB / 0.9643 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6226, allocations: 0.5625 kB / 0.9643 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003311/0.6229, allocations: 53.38 kB / 0.9644 GB, free: 14.22 MB / 0.7481 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.0004606/0.6234, allocations: 0.8619 MB / 0.9652 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.6236, allocations: 80.7 kB / 0.9653 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.6236, allocations: 1.25 kB / 0.9653 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.6236, allocations: 0.625 kB / 0.9653 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.624, allocations: 489 kB / 0.9658 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.6263, allocations: 2.571 MB / 0.9683 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.6265, allocations: 0.7371 MB / 0.969 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001286/0.6266, allocations: 39.19 kB / 0.969 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.6267, allocations: 53.03 kB / 0.9691 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.6267, allocations: 5.875 kB / 0.9691 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4747/1.101, allocations: 3.887 MB / 0.9729 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/1.102, allocations: 204 kB / 0.9731 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/3.126, allocations: 1.188 kB / 0.9731 GB, free: 9.707 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)