Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.001006/0.001006, allocations: 108 kB / 15.6 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.001025/0.001025, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.178/1.178, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001969/0.001969, allocations: 286.9 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8721/0.8721, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 94.11 kB / 0.5953 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1204, allocations: 86.98 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3835/0.504, allocations: 174 MB / 0.8502 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007933/0.512, allocations: 9.511 MB / 0.8595 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.5123, allocations: 12.28 kB / 0.8595 GB, free: 5.523 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82: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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) 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/InletToAir.mo:80:3-82: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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004904/0.5128, allocations: 191.2 kB / 0.8597 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.513, allocations: 96.55 kB / 0.8598 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.5132, allocations: 69.5 kB / 0.8599 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.5135, allocations: 321 kB / 0.8602 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.5139, allocations: 204.8 kB / 0.8604 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.5141, allocations: 169.9 kB / 0.8606 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.5143, allocations: 124.4 kB / 0.8607 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.5143, allocations: 22.59 kB / 0.8607 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.511e-05/0.5144, allocations: 22.69 kB / 0.8607 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.192e-05/0.5144, allocations: 72.33 kB / 0.8608 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.976e-05/0.5145, allocations: 126.2 kB / 0.8609 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.5148, allocations: 279.9 kB / 0.8612 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5148, allocations: 3.938 kB / 0.8612 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.011e-06/0.5148, allocations: 0 / 0.8612 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.5148, allocations: 4 kB / 0.8612 GB, free: 4.398 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000406/0.5152, allocations: 0.5085 MB / 0.8617 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.5152, allocations: 10.09 kB / 0.8617 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.5153, allocations: 64.97 kB / 0.8617 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.5153, allocations: 32.19 kB / 0.8618 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.5156, allocations: 269.4 kB / 0.862 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.5156, allocations: 21.41 kB / 0.8621 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.5156, allocations: 22.66 kB / 0.8621 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.516, allocations: 319.3 kB / 0.8624 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.516, allocations: 10.02 kB / 0.8624 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.5161, allocations: 14.38 kB / 0.8624 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.5161, allocations: 7.812 kB / 0.8624 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.5163, allocations: 148.8 kB / 0.8626 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.5173, allocations: 1.812 MB / 0.8643 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.668e-05/0.5173, allocations: 169.1 kB / 0.8645 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.5174, allocations: 84.14 kB / 0.8646 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.5174, allocations: 83.22 kB / 0.8646 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.5174, allocations: 115.5 kB / 0.8648 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.5174, allocations: 0 / 0.8648 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.734e-05/0.5175, allocations: 50.11 kB / 0.8648 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.5176, allocations: 126.7 kB / 0.8649 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.5179, allocations: 373.6 kB / 0.8653 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.5179, allocations: 25.7 kB / 0.8653 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.96e-05/0.518, allocations: 171.1 kB / 0.8655 GB, free: 392 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-06/0.518, allocations: 0 / 0.8655 GB, free: 392 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.5181, allocations: 22.45 kB / 0.8655 GB, free: 368 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.5181, allocations: 338.7 kB / 0.8658 GB, free: 28 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.5182, allocations: 2.094 kB / 0.8658 GB, free: 28 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.056e-05/0.5182, allocations: 38.19 kB / 0.8659 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.473e-05/0.5183, allocations: 47.91 kB / 0.8659 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5183, allocations: 0 / 0.8659 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001263/0.5184, allocations: 93.69 kB / 0.866 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.5184, allocations: 4.719 kB / 0.866 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5184, allocations: 6.406 kB / 0.866 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.5184, allocations: 0 / 0.866 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.5185, allocations: 11.66 kB / 0.866 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5185, allocations: 2.469 kB / 0.866 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.5186, allocations: 31.38 kB / 0.866 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.5186, allocations: 1.906 kB / 0.866 GB, free: 15.83 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001046/0.5187, allocations: 215.2 kB / 0.8662 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.5188, allocations: 141.3 kB / 0.8664 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.5188, allocations: 131.7 kB / 0.8665 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.544e-05/0.5189, allocations: 180.3 kB / 0.8667 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.354e-05/0.5189, allocations: 180.2 kB / 0.8669 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.575e-05/0.519, allocations: 176.3 kB / 0.867 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.5192, allocations: 496.1 kB / 0.8675 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.673e-05/0.5193, allocations: 104.9 kB / 0.8676 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.5193, allocations: 111.7 kB / 0.8677 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-05/0.5193, allocations: 180.2 kB / 0.8679 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.5194, allocations: 182.7 kB / 0.868 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.453e-05/0.5194, allocations: 184.4 kB / 0.8682 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.194e-05/0.5195, allocations: 180.3 kB / 0.8684 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.5196, allocations: 336.9 kB / 0.8687 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.676e-05/0.5197, allocations: 209.5 kB / 0.8689 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.5198, allocations: 180.2 kB / 0.8691 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.463e-05/0.5199, allocations: 106.8 kB / 0.8692 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.5199, allocations: 180.2 kB / 0.8694 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.52, allocations: 111.7 kB / 0.8695 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002173/0.5202, allocations: 271.3 kB / 0.8697 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5202, allocations: 0 / 0.8697 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002497/0.5204, allocations: 31.22 kB / 0.8698 GB, free: 12.03 MB / 0.5919 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.000287/0.5207, allocations: 0.8287 MB / 0.8706 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.545e-05/0.5208, allocations: 18.11 kB / 0.8706 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5208, allocations: 0 / 0.8706 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-06/0.5208, allocations: 0 / 0.8706 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007279/0.5215, allocations: 0.5573 MB / 0.8711 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.5237, allocations: 2.717 MB / 0.8738 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.524, allocations: 0.7527 MB / 0.8745 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.665e-05/0.5241, allocations: 32.78 kB / 0.8745 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.5242, allocations: 75.62 kB / 0.8746 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.5242, allocations: 0 / 0.8746 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4864/1.011, allocations: 5.844 MB / 0.8803 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/8.5, allocations: 8.219 kB / 0.8803 GB, free: 5.008 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)