Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.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(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_latest_Buildings_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.001126/0.001126, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00129/0.001291, allocations: 168.7 kB / 15.95 MB, free: 204 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.478/1.478, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.514/2.514, allocations: 409.4 MB / 0.684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003512, allocations: 12 kB / 0.8378 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7787/0.7791, allocations: 146.8 MB / 0.9811 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3297/1.109, allocations: 227.4 MB / 1.203 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0272/1.136, allocations: 20.7 MB / 1.223 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/1.139, allocations: 51.62 kB / 1.223 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003498/1.142, allocations: 0.6362 MB / 1.224 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004736/1.147, allocations: 1.158 MB / 1.225 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006035/1.153, allocations: 1.357 MB / 1.227 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005096/1.158, allocations: 2.977 MB / 1.229 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/1.16, allocations: 0.9032 MB / 1.23 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/1.163, allocations: 1.054 MB / 1.231 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/1.165, allocations: 0.817 MB / 1.232 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002885/1.166, allocations: 32 kB / 1.232 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/1.169, allocations: 0.8962 MB / 1.233 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005184/1.169, allocations: 279 kB / 1.233 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000644/1.17, allocations: 261.1 kB / 1.234 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002522/1.172, allocations: 1.582 MB / 1.235 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.172, allocations: 0 / 1.235 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.264e-06/1.172, allocations: 0 / 1.235 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.287e-05/1.173, allocations: 0 / 1.235 GB, free: 1.551 MB / 0.9825 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.002502/1.175, allocations: 1.242 MB / 1.236 GB, free: 264 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.175, allocations: 8.031 kB / 1.236 GB, free: 256 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003173/1.175, allocations: 143.5 kB / 1.236 GB, free: 104 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/1.177, allocations: 226.3 kB / 1.237 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/1.178, allocations: 0.8264 MB / 1.237 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/1.179, allocations: 184.8 kB / 1.238 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/1.179, allocations: 92 kB / 1.238 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/1.18, allocations: 0.9285 MB / 1.239 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/1.181, allocations: 0 / 1.239 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.1e-05/1.181, allocations: 36 kB / 1.239 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/1.181, allocations: 23.95 kB / 1.239 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/1.182, allocations: 0.6246 MB / 1.239 GB, free: 13.07 MB / 0.9981 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.004971/1.187, allocations: 4.443 MB / 1.244 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/1.187, allocations: 182.7 kB / 1.244 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/1.187, allocations: 144.8 kB / 1.244 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009896/1.188, allocations: 1.017 MB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/1.188, allocations: 38.55 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 2.093e-06/1.188, allocations: 4 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001056/1.19, allocations: 470.1 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/1.19, allocations: 59.34 kB / 1.246 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/1.191, allocations: 1.102 MB / 1.247 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/1.191, allocations: 33.7 kB / 1.247 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/1.192, allocations: 0.5079 MB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/1.192, allocations: 90.78 kB / 1.247 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/1.192, allocations: 4 kB / 1.247 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.192, allocations: 325.9 kB / 1.248 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/1.192, allocations: 124.8 kB / 1.248 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/1.192, allocations: 387.1 kB / 1.248 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/1.193, allocations: 187.8 kB / 1.248 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.193, allocations: 0 / 1.248 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000901/1.194, allocations: 0.5353 MB / 1.249 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.194, allocations: 8 kB / 1.249 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.194, allocations: 4 kB / 1.249 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/1.194, allocations: 12 kB / 1.249 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/1.194, allocations: 91.83 kB / 1.249 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/1.194, allocations: 11.94 kB / 1.249 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007702/1.195, allocations: 135.1 kB / 1.249 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.015e-05/1.195, allocations: 20 kB / 1.249 GB, free: 2.375 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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.000445/1.195, allocations: 289.6 kB / 1.249 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/1.196, allocations: 110.7 kB / 1.249 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/1.196, allocations: 421.3 kB / 1.25 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.196, allocations: 4 kB / 1.25 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/1.196, allocations: 0 / 1.25 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.196, allocations: 288 / 1.25 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6397/1.836, allocations: 1.54 MB / 1.251 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/1.836, allocations: 5.531 kB / 1.251 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/1.836, allocations: 41.72 kB / 1.251 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.677e-05/1.836, allocations: 9.625 kB / 1.251 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/1.837, allocations: 10.8 kB / 1.251 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-05/1.837, allocations: 7.031 kB / 1.251 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/1.837, allocations: 13.17 kB / 1.251 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009253/1.838, allocations: 0.5673 MB / 1.252 GB, free: 269.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/1.838, allocations: 245.8 kB / 1.252 GB, free: 269.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/1.838, allocations: 11.52 kB / 1.252 GB, free: 269.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/1.839, allocations: 32.16 kB / 1.252 GB, free: 269.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/1.839, allocations: 29.8 kB / 1.252 GB, free: 269.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/1.839, allocations: 11.58 kB / 1.252 GB, free: 269.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001466/1.84, allocations: 0.7685 MB / 1.253 GB, free: 269.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.84, allocations: 0.875 kB / 1.253 GB, free: 269.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001605/1.842, allocations: 282.3 kB / 1.253 GB, free: 269.7 MB / 0.9981 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.002151/1.844, allocations: 1.326 MB / 1.255 GB, free: 268.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009435/1.845, allocations: 334.2 kB / 1.255 GB, free: 268.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.845, allocations: 0.9688 kB / 1.255 GB, free: 268.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/1.845, allocations: 143.3 kB / 1.255 GB, free: 268.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/1.847, allocations: 487.9 kB / 1.255 GB, free: 268.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009428/1.857, allocations: 5.519 MB / 1.261 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007633/1.858, allocations: 1.063 MB / 1.262 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001039/1.859, allocations: 195 kB / 1.262 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/1.859, allocations: 362.4 kB / 1.262 GB, free: 264.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.859, allocations: 0 / 1.262 GB, free: 264.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04179/1.901, allocations: 26.5 MB / 1.288 GB, free: 245 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/1.901, allocations: 249.3 kB / 1.289 GB, free: 244.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/4.368, allocations: 0 / 1.289 GB, free: 244.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat does not exist to compare? outputFormat=mat