Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.005264/0.005264, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.001506/0.001506, allocations: 191 kB / 16.67 MB, free: 5.934 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00239/0.002391, allocations: 292.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9619/0.9619, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002541/0.002541, allocations: 95.84 kB / 0.681 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3491, allocations: 86.98 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1737/0.5229, allocations: 174 MB / 0.9358 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009356/0.5322, allocations: 9.503 MB / 0.9451 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.5325, allocations: 8 kB / 0.9451 GB, free: 11.68 MB / 0.7169 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 (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/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 (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/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.0005535/0.533, allocations: 194.7 kB / 0.9453 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.5333, allocations: 91.31 kB / 0.9454 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.5334, allocations: 67.92 kB / 0.9454 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004307/0.5339, allocations: 322.7 kB / 0.9458 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.5341, allocations: 136.6 kB / 0.9459 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.5345, allocations: 163.3 kB / 0.946 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.5346, allocations: 103.5 kB / 0.9461 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.5346, allocations: 16 kB / 0.9462 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.858e-05/0.5347, allocations: 16 kB / 0.9462 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.5347, allocations: 39.84 kB / 0.9462 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.028e-05/0.5348, allocations: 99.48 kB / 0.9463 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.535, allocations: 220.2 kB / 0.9465 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.535, allocations: 0 / 0.9465 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5351, allocations: 0 / 0.9465 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5351, allocations: 0 / 0.9465 GB, free: 10.24 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004612/0.5355, allocations: 482.7 kB / 0.947 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.5356, allocations: 8.031 kB / 0.947 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.433e-05/0.5356, allocations: 62.47 kB / 0.947 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.5357, allocations: 23.8 kB / 0.9471 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.536, allocations: 258.7 kB / 0.9473 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.536, allocations: 16.44 kB / 0.9473 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.5361, allocations: 16 kB / 0.9473 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.5364, allocations: 235.8 kB / 0.9476 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5364, allocations: 0 / 0.9476 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.5364, allocations: 15.88 kB / 0.9476 GB, free: 9.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.5364, allocations: 11.98 kB / 0.9476 GB, free: 9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.5366, allocations: 87.84 kB / 0.9477 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.5377, allocations: 1.445 MB / 0.9491 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.538e-05/0.5378, allocations: 169.1 kB / 0.9493 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.5379, allocations: 84.17 kB / 0.9493 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.5379, allocations: 83.22 kB / 0.9494 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.538, allocations: 105.8 kB / 0.9495 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.538, allocations: 0 / 0.9495 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.605e-05/0.5381, allocations: 57.48 kB / 0.9496 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.5381, allocations: 130.7 kB / 0.9497 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.5384, allocations: 279 kB / 0.95 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.5385, allocations: 25.7 kB / 0.95 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.5386, allocations: 152 kB / 0.9501 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.5386, allocations: 0 / 0.9501 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.5386, allocations: 21.7 kB / 0.9501 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5388, allocations: 330.8 kB / 0.9505 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.5388, allocations: 7.984 kB / 0.9505 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.5388, allocations: 27.44 kB / 0.9505 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.536e-05/0.5389, allocations: 35.38 kB / 0.9505 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5389, allocations: 0 / 0.9505 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001282/0.539, allocations: 77.42 kB / 0.9506 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.539, allocations: 8 kB / 0.9506 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.539, allocations: 128 / 0.9506 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.539, allocations: 4 kB / 0.9506 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.495e-05/0.5391, allocations: 8 kB / 0.9506 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.5391, allocations: 0 / 0.9506 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.5392, allocations: 19.84 kB / 0.9506 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.5392, allocations: 0 / 0.9506 GB, free: 5.688 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001211/0.5393, allocations: 209 kB / 0.9508 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.5394, allocations: 132.8 kB / 0.951 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.961e-05/0.5395, allocations: 121.9 kB / 0.9511 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.891e-05/0.5395, allocations: 180.3 kB / 0.9513 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-05/0.5396, allocations: 180.2 kB / 0.9514 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.814e-05/0.5397, allocations: 176.3 kB / 0.9516 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.54, allocations: 477 kB / 0.9521 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-05/0.54, allocations: 105.1 kB / 0.9522 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.5401, allocations: 108.9 kB / 0.9523 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.151e-05/0.5402, allocations: 180.2 kB / 0.9524 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.081e-05/0.5402, allocations: 176.3 kB / 0.9526 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.205e-05/0.5403, allocations: 188.2 kB / 0.9528 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.769e-05/0.5404, allocations: 184.3 kB / 0.953 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.5406, allocations: 327.6 kB / 0.9533 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.5407, allocations: 201.9 kB / 0.9535 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/0.5408, allocations: 184.2 kB / 0.9536 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.5409, allocations: 105 kB / 0.9537 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.541, allocations: 192.2 kB / 0.9539 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.541, allocations: 101.3 kB / 0.954 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001966/0.5412, allocations: 209.9 kB / 0.9542 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5412, allocations: 0 / 0.9542 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003165/0.5415, allocations: 27.94 kB / 0.9542 GB, free: 1.777 MB / 0.7169 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.000415/0.542, allocations: 0.8311 MB / 0.955 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.141e-05/0.542, allocations: 16.03 kB / 0.9551 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.542, allocations: 0 / 0.9551 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.542, allocations: 3.938 kB / 0.9551 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000771/0.5428, allocations: 0.5299 MB / 0.9556 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2487/0.7915, allocations: 2.223 MB / 0.9578 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.7917, allocations: 0.7221 MB / 0.9585 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.667e-05/0.7918, allocations: 22.61 kB / 0.9585 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.7918, allocations: 58.34 kB / 0.9585 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of SimCode: time 7.81e-07/0.7918, allocations: 0 / 0.9585 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.319/2.111, allocations: 4.692 MB / 0.9631 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.943/11.05, allocations: 7.953 kB / 0.9631 GB, free: 191.3 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)