Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_8_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.001191/0.001191, allocations: 99.86 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.001323/0.001323, 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 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.994/1.994, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000573/0.0005731, allocations: 14.34 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2769, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.9078/1.185, allocations: 247.2 MB / 1.029 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0366/1.221, allocations: 25.01 MB / 1.053 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003804/1.225, allocations: 59.38 kB / 1.053 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004516/1.23, allocations: 1.036 MB / 1.054 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01/1.24, allocations: 2.867 MB / 1.057 GB, free: 4.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008955/1.249, allocations: 2.865 MB / 1.06 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006128/1.255, allocations: 2.558 MB / 1.062 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/1.257, allocations: 1.206 MB / 1.063 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003848/1.261, allocations: 1.522 MB / 1.065 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/1.263, allocations: 0.7817 MB / 1.066 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002078/1.263, allocations: 60 kB / 1.066 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/1.267, allocations: 1.439 MB / 1.067 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005245/1.267, allocations: 430.6 kB / 1.067 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005966/1.268, allocations: 428.7 kB / 1.068 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003421/1.271, allocations: 2.879 MB / 1.071 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/1.271, allocations: 4 kB / 1.071 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.043e-06/1.271, allocations: 0 / 1.071 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.913e-05/1.271, allocations: 0 / 1.071 GB, free: 5.934 MB / 0.7794 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.003219/1.274, allocations: 1.911 MB / 1.073 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/1.274, allocations: 8.031 kB / 1.073 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/1.275, allocations: 168.8 kB / 1.073 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003507/1.278, allocations: 0.626 MB / 1.073 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/1.282, allocations: 1.843 MB / 1.075 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006747/1.282, allocations: 218 kB / 1.075 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/1.282, allocations: 112 kB / 1.075 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/1.285, allocations: 1.394 MB / 1.077 GB, free: 15.42 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/1.285, allocations: 7.938 kB / 1.077 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.285, allocations: 44 kB / 1.077 GB, free: 15.37 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/1.285, allocations: 38 kB / 1.077 GB, free: 15.33 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/1.288, allocations: 1.054 MB / 1.078 GB, free: 14.28 MB / 0.795 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.008522/1.296, allocations: 6.919 MB / 1.085 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/1.298, allocations: 354.6 kB / 1.085 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.235e-05/1.298, allocations: 7.984 kB / 1.085 GB, free: 6.629 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/1.298, allocations: 42.84 kB / 1.085 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006511/1.298, allocations: 78.92 kB / 1.085 GB, free: 6.5 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 4.138e-06/1.299, allocations: 7.938 kB / 1.085 GB, free: 6.492 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.001494/1.3, allocations: 0.537 MB / 1.086 GB, free: 5.949 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/1.3, allocations: 51.41 kB / 1.086 GB, free: 5.887 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/1.302, allocations: 1.718 MB / 1.087 GB, free: 4.172 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/1.302, allocations: 33.7 kB / 1.087 GB, free: 4.133 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006453/1.303, allocations: 0.8327 MB / 1.088 GB, free: 3.293 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/1.303, allocations: 79.02 kB / 1.088 GB, free: 3.215 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/1.303, allocations: 15.94 kB / 1.088 GB, free: 3.199 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.303, allocations: 338 kB / 1.089 GB, free: 2.863 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007616/1.304, allocations: 285.8 kB / 1.089 GB, free: 2.586 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009772/1.305, allocations: 0.6778 MB / 1.09 GB, free: 1.719 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008446/1.306, allocations: 374.9 kB / 1.09 GB, free: 1.355 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.306, allocations: 4 kB / 1.09 GB, free: 1.352 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002182/1.308, allocations: 1.034 MB / 1.091 GB, free: 316 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.001689/1.31, allocations: 4.971 MB / 1.096 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.31, allocations: 12 kB / 1.096 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/1.31, allocations: 19.98 kB / 1.096 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007796/1.311, allocations: 199.7 kB / 1.096 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/1.311, allocations: 27.94 kB / 1.096 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/1.312, allocations: 176.4 kB / 1.096 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-05/1.312, allocations: 47.98 kB / 1.096 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/1.312, allocations: 7.953 kB / 1.096 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001666/1.314, allocations: 0.806 MB / 1.097 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.314, allocations: 16 kB / 1.097 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/1.314, allocations: 16 kB / 1.097 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/1.315, allocations: 192.2 kB / 1.097 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/1.315, allocations: 23.88 kB / 1.097 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/1.316, allocations: 132.5 kB / 1.097 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/1.316, allocations: 40 kB / 1.097 GB, free: 9.227 MB / 0.8106 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.0009916/1.317, allocations: 0.5202 MB / 1.098 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/1.317, allocations: 165.9 kB / 1.098 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/1.318, allocations: 432.8 kB / 1.099 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/1.319, allocations: 7.953 kB / 1.099 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.319, allocations: 0 / 1.099 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.319, allocations: 0 / 1.099 GB, free: 8.086 MB / 0.8106 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.002693/1.321, allocations: 1.584 MB / 1.1 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.321, allocations: 3.984 kB / 1.1 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/1.322, allocations: 47.91 kB / 1.1 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.322, allocations: 8.25 kB / 1.1 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/1.322, allocations: 11.98 kB / 1.1 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.322, allocations: 4 kB / 1.1 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.322, allocations: 7.938 kB / 1.1 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/1.323, allocations: 0.688 MB / 1.101 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/1.323, allocations: 294.9 kB / 1.101 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/1.323, allocations: 8 kB / 1.101 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009093/1.324, allocations: 83.92 kB / 1.101 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/1.324, allocations: 23.86 kB / 1.101 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/1.324, allocations: 19.98 kB / 1.101 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00181/1.326, allocations: 1.186 MB / 1.102 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/1.326, allocations: 0 / 1.102 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001908/1.328, allocations: 0.6667 MB / 1.103 GB, free: 3.266 MB / 0.8106 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.001915/1.33, allocations: 1.932 MB / 1.105 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002361/1.332, allocations: 0.9471 MB / 1.106 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.332, allocations: 0 / 1.106 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003395/1.333, allocations: 129.1 kB / 1.106 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/1.336, allocations: 0.8102 MB / 1.107 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00874/1.345, allocations: 12.33 MB / 1.119 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000917/1.346, allocations: 1.322 MB / 1.12 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001725/1.348, allocations: 342 kB / 1.12 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007517/1.349, allocations: 0.6008 MB / 1.121 GB, free: 324 kB / 0.8262 GB Notification: Performance of SimCode: time 1.112e-06/1.349, allocations: 0 / 1.121 GB, free: 324 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08211/1.431, allocations: 41.33 MB / 1.161 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/1.431, allocations: 184.3 kB / 1.162 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.196/4.627, allocations: 4 kB / 1.162 GB, free: 7.242 MB / 0.8731 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) Environment - environmentSimulation: