Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",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.001173/0.001173, allocations: 99.47 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.00148/0.001481, 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.377/1.377, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.3 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.7479, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.2852/1.033, allocations: 247.1 MB / 1.195 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03032/1.063, allocations: 22.53 MB / 1.217 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/1.066, allocations: 63.62 kB / 1.217 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003489/1.07, allocations: 0.9837 MB / 1.218 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.009933/1.08, allocations: 2.91 MB / 1.221 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006084/1.086, allocations: 1.919 MB / 1.223 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005467/1.091, allocations: 2.587 MB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/1.093, allocations: 1.206 MB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003697/1.097, allocations: 1.538 MB / 1.228 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/1.098, allocations: 0.7817 MB / 1.229 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/1.099, allocations: 63.94 kB / 1.229 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003367/1.102, allocations: 1.431 MB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000487/1.102, allocations: 434.5 kB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005508/1.103, allocations: 428.8 kB / 1.231 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00349/1.106, allocations: 2.895 MB / 1.234 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/1.106, allocations: 0 / 1.234 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/1.107, allocations: 0 / 1.234 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.796e-05/1.107, allocations: 0 / 1.234 GB, free: 0.6602 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: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.00331/1.11, allocations: 1.911 MB / 1.236 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/1.11, allocations: 12.03 kB / 1.236 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002187/1.11, allocations: 160.8 kB / 1.236 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/1.114, allocations: 0.7119 MB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/1.118, allocations: 1.914 MB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000649/1.119, allocations: 218 kB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/1.119, allocations: 112 kB / 1.239 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/1.122, allocations: 1.435 MB / 1.24 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/1.122, allocations: 7.938 kB / 1.24 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.122, allocations: 44 kB / 1.24 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/1.122, allocations: 45.98 kB / 1.24 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002939/1.125, allocations: 1.167 MB / 1.241 GB, free: 8.688 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.009101/1.134, allocations: 6.984 MB / 1.248 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/1.136, allocations: 430.4 kB / 1.248 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-05/1.136, allocations: 15.97 kB / 1.248 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/1.136, allocations: 34.56 kB / 1.248 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005836/1.137, allocations: 74.97 kB / 1.249 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.204e-06/1.137, allocations: 0 / 1.249 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001962/1.139, allocations: 0.6259 MB / 1.249 GB, free: 144 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.139, allocations: 59.41 kB / 1.249 GB, free: 72 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.529/1.668, allocations: 1.72 MB / 1.251 GB, free: 286.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/1.668, allocations: 35.61 kB / 1.251 GB, free: 286.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006952/1.669, allocations: 0.8353 MB / 1.252 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/1.669, allocations: 74.92 kB / 1.252 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/1.669, allocations: 11.12 kB / 1.252 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.06e-05/1.669, allocations: 332.8 kB / 1.252 GB, free: 285.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/1.67, allocations: 324 kB / 1.252 GB, free: 285.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/1.671, allocations: 0.7003 MB / 1.253 GB, free: 284.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/1.673, allocations: 400 kB / 1.254 GB, free: 284.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.673, allocations: 2.625 kB / 1.254 GB, free: 284.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002992/1.676, allocations: 1.103 MB / 1.255 GB, free: 284.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007752/1.676, allocations: 4.969 MB / 1.259 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/1.676, allocations: 11.84 kB / 1.259 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.547e-05/1.676, allocations: 23.08 kB / 1.26 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/1.677, allocations: 211.7 kB / 1.26 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.329e-05/1.677, allocations: 23.92 kB / 1.26 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/1.679, allocations: 192.7 kB / 1.26 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/1.679, allocations: 42.42 kB / 1.26 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/1.679, allocations: 7.469 kB / 1.26 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002246/1.682, allocations: 0.8827 MB / 1.261 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/1.682, allocations: 12.25 kB / 1.261 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.682, allocations: 23.78 kB / 1.261 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/1.683, allocations: 200.8 kB / 1.261 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.794e-05/1.683, allocations: 28.09 kB / 1.261 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/1.684, allocations: 141.2 kB / 1.261 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.143e-05/1.684, allocations: 44.8 kB / 1.261 GB, free: 278.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (84): * Single equations (assignments): 83 * Array equations: 1 * 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.0007881/1.685, allocations: 0.5077 MB / 1.262 GB, free: 278 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/1.685, allocations: 160.6 kB / 1.262 GB, free: 278 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/1.687, allocations: 0.4977 MB / 1.262 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/1.687, allocations: 2.469 kB / 1.262 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.687, allocations: 1.156 kB / 1.262 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.687, allocations: 5.406 kB / 1.262 GB, free: 277.8 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 postOpt removeSimpleEquations (simulation): time 0.003052/1.69, allocations: 1.68 MB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.69, allocations: 2.312 kB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/1.69, allocations: 70.58 kB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/1.69, allocations: 3.844 kB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/1.69, allocations: 6.266 kB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/1.69, allocations: 3.219 kB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.69, allocations: 5.438 kB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/1.692, allocations: 0.7628 MB / 1.265 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000504/1.692, allocations: 292.8 kB / 1.265 GB, free: 276 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/1.692, allocations: 7.938 kB / 1.265 GB, free: 276 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/1.693, allocations: 103.7 kB / 1.265 GB, free: 276 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/1.693, allocations: 23.34 kB / 1.265 GB, free: 276 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/1.694, allocations: 18.39 kB / 1.265 GB, free: 276 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002457/1.696, allocations: 1.193 MB / 1.266 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.6e-07/1.696, allocations: 0 / 1.266 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002241/1.698, allocations: 0.6593 MB / 1.267 GB, free: 275.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.002089/1.7, allocations: 2.003 MB / 1.269 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003171/1.704, allocations: 1.049 MB / 1.27 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.704, allocations: 1.125 kB / 1.27 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005204/1.704, allocations: 169.6 kB / 1.27 GB, free: 273.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003929/1.708, allocations: 0.7962 MB / 1.271 GB, free: 273.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006935/1.715, allocations: 12.38 MB / 1.283 GB, free: 261.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008142/1.716, allocations: 1.32 MB / 1.284 GB, free: 260.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0019/1.718, allocations: 347.4 kB / 1.285 GB, free: 260.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006851/1.718, allocations: 0.5951 MB / 1.285 GB, free: 259.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.718, allocations: 0 / 1.285 GB, free: 259.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0599/1.778, allocations: 41.41 MB / 1.326 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/1.779, allocations: 184.2 kB / 1.326 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.814/4.593, allocations: 0 / 1.326 GB, free: 226.5 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat does not exist to compare? outputFormat=mat