Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",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.001203/0.001203, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001374/0.001374, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.007/1.007, allocations: 143.3 MB / 434.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003323, allocations: 8 kB / 0.5159 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2013, allocations: 83.4 MB / 0.5974 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5691/0.7705, allocations: 205.8 MB / 0.7983 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02616/0.7967, allocations: 18.87 MB / 0.8167 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.7988, allocations: 51.62 kB / 0.8168 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.8012, allocations: 0.587 MB / 0.8173 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005538/0.8068, allocations: 1.5 MB / 0.8188 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004943/0.8117, allocations: 1.474 MB / 0.8203 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004603/0.8163, allocations: 1.769 MB / 0.822 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.8184, allocations: 0.9329 MB / 0.8229 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.8214, allocations: 0.9149 MB / 0.8238 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.8233, allocations: 0.5874 MB / 0.8244 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.8235, allocations: 35.94 kB / 0.8244 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.8266, allocations: 0.8035 MB / 0.8252 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003865/0.827, allocations: 267.1 kB / 0.8254 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005761/0.8276, allocations: 257.1 kB / 0.8257 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.83, allocations: 1.582 MB / 0.8272 GB, free: 272 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.83, allocations: 0 / 0.8272 GB, free: 272 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.195e-06/0.83, allocations: 3.938 kB / 0.8272 GB, free: 268 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.83, allocations: 4 kB / 0.8272 GB, free: 264 kB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001943/0.832, allocations: 1.227 MB / 0.8284 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.8321, allocations: 12.02 kB / 0.8284 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.8322, allocations: 139.5 kB / 0.8286 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.8333, allocations: 226.4 kB / 0.8288 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.8347, allocations: 0.8186 MB / 0.8296 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.8349, allocations: 184.8 kB / 0.8298 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.8351, allocations: 88 kB / 0.8298 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.8367, allocations: 0.9245 MB / 0.8308 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.8367, allocations: 0 / 0.8308 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/0.8368, allocations: 36 kB / 0.8308 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-05/0.8369, allocations: 24 kB / 0.8308 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.8381, allocations: 0.6246 MB / 0.8314 GB, free: 11.81 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005956/0.844, allocations: 4.447 MB / 0.8358 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.8446, allocations: 180.3 kB / 0.8359 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009008/0.8455, allocations: 0.6688 MB / 0.8366 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.8455, allocations: 38.56 kB / 0.8366 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 2.525e-06/0.8455, allocations: 0 / 0.8366 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.001246/0.8468, allocations: 459.7 kB / 0.8371 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.8469, allocations: 55.41 kB / 0.8371 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.8484, allocations: 1.094 MB / 0.8382 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.8485, allocations: 33.7 kB / 0.8382 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.8489, allocations: 0.5118 MB / 0.8387 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.849, allocations: 86.83 kB / 0.8388 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.849, allocations: 7.938 kB / 0.8388 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.8492, allocations: 326 kB / 0.8391 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.8494, allocations: 124.8 kB / 0.8392 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.8499, allocations: 399.6 kB / 0.8396 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.8502, allocations: 183.8 kB / 0.8398 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.8502, allocations: 0 / 0.8398 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009479/0.8511, allocations: 0.5433 MB / 0.8403 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.8512, allocations: 8 kB / 0.8403 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.8512, allocations: 8 kB / 0.8403 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.8512, allocations: 12 kB / 0.8403 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.8516, allocations: 95.78 kB / 0.8404 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.8516, allocations: 12.48 kB / 0.8405 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009202/0.8526, allocations: 131.1 kB / 0.8406 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.8526, allocations: 31.98 kB / 0.8406 GB, free: 1.66 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004875/0.8531, allocations: 285.6 kB / 0.8409 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.8533, allocations: 106.7 kB / 0.841 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007788/0.8541, allocations: 423.6 kB / 0.8414 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.8541, allocations: 11.92 kB / 0.8414 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.8541, allocations: 3.953 kB / 0.8414 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.8541, allocations: 192 / 0.8414 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.8565, allocations: 1.516 MB / 0.8429 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.8565, allocations: 7.984 kB / 0.8429 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.8567, allocations: 39.92 kB / 0.8429 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.8567, allocations: 8 kB / 0.8429 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.8568, allocations: 12 kB / 0.8429 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.8568, allocations: 7.938 kB / 0.843 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.8568, allocations: 4 kB / 0.843 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007933/0.8576, allocations: 0.7869 MB / 0.8437 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/0.858, allocations: 243.6 kB / 0.844 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.8581, allocations: 12 kB / 0.844 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.8586, allocations: 39.84 kB / 0.844 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.8587, allocations: 27.94 kB / 0.844 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.8587, allocations: 12 kB / 0.844 GB, free: 13.83 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001044/0.8598, allocations: 0.7703 MB / 0.8448 GB, free: 13.05 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.51e-07/0.8598, allocations: 0 / 0.8448 GB, free: 13.05 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001102/0.8609, allocations: 283.5 kB / 0.8451 GB, free: 12.77 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002232/0.8631, allocations: 2.745 MB / 0.8477 GB, free: 9.891 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007168/0.8639, allocations: 324.5 kB / 0.8481 GB, free: 9.574 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.8639, allocations: 0 / 0.8481 GB, free: 9.574 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.8641, allocations: 141.2 kB / 0.8482 GB, free: 9.438 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.8664, allocations: 485.8 kB / 0.8487 GB, free: 8.98 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3096/1.176, allocations: 10.12 MB / 0.8585 GB, free: 209 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/1.177, allocations: 1.081 MB / 0.8596 GB, free: 208.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008761/1.177, allocations: 198 kB / 0.8598 GB, free: 208.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/1.178, allocations: 364.3 kB / 0.8601 GB, free: 208.3 MB / 0.67 GB Notification: Performance of SimCode: time 9.62e-07/1.178, allocations: 3.906 kB / 0.8601 GB, free: 208.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.057/1.235, allocations: 26.37 MB / 0.8859 GB, free: 206.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/1.235, allocations: 262.1 kB / 0.8861 GB, free: 206.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/3.617, allocations: 4 kB / 0.8861 GB, free: 206.3 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: