Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.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: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009707/0.0009707, 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.0009891/0.0009889, 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.468/1.468, 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.751/1.751, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0006156/0.0006154, allocations: 14.88 kB / 0.6735 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3167, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.8187/1.135, allocations: 253.2 MB / 1.034 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03495/1.17, allocations: 26.51 MB / 1.06 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003592/1.174, allocations: 63.56 kB / 1.06 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004645/1.179, allocations: 1.05 MB / 1.061 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009938/1.189, allocations: 2.895 MB / 1.064 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009806/1.199, allocations: 2.882 MB / 1.067 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007123/1.206, allocations: 2.83 MB / 1.07 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/1.208, allocations: 1.421 MB / 1.071 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004149/1.212, allocations: 1.592 MB / 1.073 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/1.214, allocations: 0.8634 MB / 1.074 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/1.214, allocations: 68 kB / 1.074 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004719/1.219, allocations: 1.673 MB / 1.075 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006044/1.219, allocations: 450.4 kB / 1.076 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007731/1.22, allocations: 468.6 kB / 1.076 GB, free: 404 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004428/1.225, allocations: 3.218 MB / 1.079 GB, free: 13.17 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/1.225, allocations: 0 / 1.079 GB, free: 13.17 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.134e-06/1.225, allocations: 0 / 1.079 GB, free: 13.17 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.469e-05/1.225, allocations: 0 / 1.079 GB, free: 13.17 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003956/1.229, allocations: 2.064 MB / 1.081 GB, free: 11.04 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.229, allocations: 12.03 kB / 1.081 GB, free: 11.03 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005037/1.234, allocations: 0.8677 MB / 1.082 GB, free: 10.16 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003677/1.238, allocations: 1.914 MB / 1.084 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006591/1.238, allocations: 238.4 kB / 1.084 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/1.238, allocations: 132 kB / 1.084 GB, free: 7.824 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003478/1.242, allocations: 1.653 MB / 1.086 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/1.242, allocations: 7.953 kB / 1.086 GB, free: 6.105 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/1.242, allocations: 52 kB / 1.086 GB, free: 6.055 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.324e-05/1.242, allocations: 54.5 kB / 1.086 GB, free: 6 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/1.246, allocations: 1.497 MB / 1.088 GB, free: 4.496 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.01048/1.256, allocations: 7.399 MB / 1.095 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/1.259, allocations: 0.7326 MB / 1.096 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.496e-05/1.259, allocations: 20.61 kB / 1.096 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.259, allocations: 38.56 kB / 1.096 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006617/1.26, allocations: 87.36 kB / 1.096 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=37): time 2.094e-06/1.26, allocations: 4 kB / 1.096 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37): time 0.002944/1.263, allocations: 1.322 MB / 1.097 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/1.263, allocations: 59.34 kB / 1.097 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/1.266, allocations: 1.843 MB / 1.099 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/1.266, allocations: 37.7 kB / 1.099 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006941/1.266, allocations: 0.823 MB / 1.1 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/1.266, allocations: 130.2 kB / 1.1 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/1.267, allocations: 8 kB / 1.1 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.267, allocations: 334 kB / 1.1 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/1.268, allocations: 413.1 kB / 1.1 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/1.269, allocations: 0.6544 MB / 1.101 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/1.27, allocations: 457.3 kB / 1.102 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/1.27, allocations: 4 kB / 1.102 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003076/1.273, allocations: 1.405 MB / 1.103 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009905/1.274, allocations: 2.555 MB / 1.105 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.274, allocations: 8 kB / 1.105 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/1.275, allocations: 61.69 kB / 1.106 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/1.276, allocations: 215.7 kB / 1.106 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/1.278, allocations: 2.821 MB / 1.108 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/1.28, allocations: 282.2 kB / 1.109 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/1.28, allocations: 39.97 kB / 1.109 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/1.28, allocations: 4 kB / 1.109 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002525/1.282, allocations: 1.159 MB / 1.11 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.282, allocations: 11.94 kB / 1.11 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/1.283, allocations: 57.69 kB / 1.11 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009387/1.284, allocations: 200 kB / 1.11 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/1.286, allocations: 2.833 MB / 1.113 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.287, allocations: 212.5 kB / 1.113 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/1.287, allocations: 35.98 kB / 1.113 GB, free: 8.66 MB / 0.8262 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 (69): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00114/1.289, allocations: 0.5203 MB / 1.114 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/1.289, allocations: 165.8 kB / 1.114 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/1.291, allocations: 0.9361 MB / 1.115 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/1.291, allocations: 7.953 kB / 1.115 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.291, allocations: 4 kB / 1.115 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.291, allocations: 3.984 kB / 1.115 GB, free: 6.957 MB / 0.8262 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.003541/1.294, allocations: 2.232 MB / 1.117 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.294, allocations: 3.984 kB / 1.117 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/1.295, allocations: 99.98 kB / 1.117 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/1.295, allocations: 49.78 kB / 1.117 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/1.295, allocations: 15.94 kB / 1.117 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/1.297, allocations: 2.821 MB / 1.12 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.297, allocations: 7.984 kB / 1.12 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/1.299, allocations: 1.067 MB / 1.121 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005995/1.299, allocations: 330.9 kB / 1.121 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/1.3, allocations: 7.953 kB / 1.121 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/1.301, allocations: 131.9 kB / 1.121 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/1.301, allocations: 27.91 kB / 1.121 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/1.301, allocations: 19.98 kB / 1.121 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002319/1.303, allocations: 1.317 MB / 1.123 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.303, allocations: 0 / 1.123 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00249/1.306, allocations: 0.7602 MB / 1.123 GB, free: 13.51 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006592/1.306, allocations: 294.8 kB / 1.124 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003919/1.31, allocations: 1.719 MB / 1.125 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.31, allocations: 1.125 kB / 1.125 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009172/1.311, allocations: 0.5101 MB / 1.126 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004572/1.316, allocations: 0.9635 MB / 1.127 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004703/1.32, allocations: 3.121 MB / 1.13 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008747/1.321, allocations: 1.375 MB / 1.131 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001868/1.323, allocations: 382.9 kB / 1.132 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/1.324, allocations: 127.4 kB / 1.132 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/1.324, allocations: 0 / 1.132 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of Templates: time 0.05843/1.382, allocations: 33.03 MB / 1.164 GB, free: 4.254 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) Environment - environmentSimulation: