Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.005094/0.005094, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001251/0.001251, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002604/0.002604, allocations: 286.9 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.224/1.224, allocations: 178.6 MB / 0.5074 GB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 99.84 kB / 0.6943 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3879, allocations: 89.13 MB / 0.7813 GB, free: 1.145 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6667/1.055, allocations: 304.8 MB / 1.079 GB, free: 4.984 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02774/1.082, allocations: 27.44 MB / 1.106 GB, free: 3.176 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003001/1.085, allocations: 80.19 kB / 1.106 GB, free: 3.176 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005411/1.091, allocations: 2.219 MB / 1.108 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007366/1.098, allocations: 3.061 MB / 1.111 GB, free: 1.965 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006541/1.105, allocations: 2.768 MB / 1.114 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01047/1.115, allocations: 7.271 MB / 1.121 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00301/1.118, allocations: 1.826 MB / 1.123 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004654/1.123, allocations: 2.245 MB / 1.125 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002928/1.126, allocations: 1.353 MB / 1.126 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0005231/1.127, allocations: 216.4 kB / 1.126 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00712/1.134, allocations: 3.206 MB / 1.129 GB, free: 8.41 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001235/1.135, allocations: 0.765 MB / 1.13 GB, free: 7.664 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002515/1.137, allocations: 1.264 MB / 1.131 GB, free: 6.414 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01013/1.148, allocations: 4.938 MB / 1.136 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.148, allocations: 0 / 1.136 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.675e-06/1.148, allocations: 4 kB / 1.136 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.845e-05/1.148, allocations: 2.156 kB / 1.136 GB, free: 1.688 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.006122/1.154, allocations: 2.819 MB / 1.139 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.154, allocations: 12.03 kB / 1.139 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003227/1.154, allocations: 168.9 kB / 1.139 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004628/1.159, allocations: 0.7317 MB / 1.14 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/1.17, allocations: 5.662 MB / 1.145 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/1.17, allocations: 86.19 kB / 1.146 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000298/1.17, allocations: 115.2 kB / 1.146 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/1.174, allocations: 1.398 MB / 1.147 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/1.174, allocations: 2.156 kB / 1.147 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/1.174, allocations: 52 kB / 1.147 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/1.174, allocations: 38 kB / 1.147 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/1.176, allocations: 0.9919 MB / 1.148 GB, free: 5.617 MB / 0.7794 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.01037/1.187, allocations: 7.683 MB / 1.156 GB, free: 13.64 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/1.188, allocations: 362.6 kB / 1.156 GB, free: 13.26 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/1.188, allocations: 116.8 kB / 1.156 GB, free: 13.14 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003028/1.188, allocations: 194.2 kB / 1.156 GB, free: 12.92 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/1.188, allocations: 30.56 kB / 1.156 GB, free: 12.88 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 2.094e-06/1.188, allocations: 0 / 1.156 GB, free: 12.88 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.001742/1.19, allocations: 0.5408 MB / 1.157 GB, free: 12.34 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/1.19, allocations: 55.41 kB / 1.157 GB, free: 12.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003899/1.194, allocations: 2.28 MB / 1.159 GB, free: 9.969 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/1.194, allocations: 33.7 kB / 1.159 GB, free: 9.93 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009432/1.195, allocations: 0.9915 MB / 1.16 GB, free: 8.938 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.249e-05/1.195, allocations: 78.28 kB / 1.16 GB, free: 8.863 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000402/1.196, allocations: 286.3 kB / 1.16 GB, free: 8.574 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.196, allocations: 349.9 kB / 1.161 GB, free: 8.227 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009826/1.197, allocations: 456.9 kB / 1.161 GB, free: 7.781 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/1.198, allocations: 0.899 MB / 1.162 GB, free: 6.672 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/1.2, allocations: 1.215 MB / 1.163 GB, free: 5.316 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.2, allocations: 4 kB / 1.163 GB, free: 5.312 MB / 0.795 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003002/1.203, allocations: 1.513 MB / 1.165 GB, free: 3.871 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/1.203, allocations: 15.94 kB / 1.165 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.203, allocations: 16 kB / 1.165 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.612e-05/1.203, allocations: 23.98 kB / 1.165 GB, free: 3.816 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009111/1.204, allocations: 242.1 kB / 1.165 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.963e-05/1.204, allocations: 35.83 kB / 1.165 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.206, allocations: 210.6 kB / 1.165 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.071e-05/1.206, allocations: 55.98 kB / 1.165 GB, free: 3.309 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00168/1.207, allocations: 0.9317 MB / 1.166 GB, free: 2.375 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001245/1.209, allocations: 0.8777 MB / 1.167 GB, free: 1.293 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001799/1.21, allocations: 1.195 MB / 1.168 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.537e-06/1.21, allocations: 4 kB / 1.168 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002824/1.213, allocations: 1.496 MB / 1.17 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.213, allocations: 16.22 kB / 1.17 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.213, allocations: 12 kB / 1.17 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/1.213, allocations: 20 kB / 1.17 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008771/1.214, allocations: 241.3 kB / 1.17 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.251e-05/1.214, allocations: 31.67 kB / 1.17 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.216, allocations: 143.6 kB / 1.17 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/1.216, allocations: 52 kB / 1.17 GB, free: 14.05 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002767/1.216, allocations: 252.9 kB / 1.17 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/1.216, allocations: 206.6 kB / 1.171 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/1.217, allocations: 175.9 kB / 1.171 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.217, allocations: 0 / 1.171 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.217, allocations: 0 / 1.171 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/1.217, allocations: 7.969 kB / 1.171 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/1.22, allocations: 1.867 MB / 1.173 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.22, allocations: 4.531 kB / 1.173 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/1.221, allocations: 59.05 kB / 1.173 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/1.221, allocations: 4 kB / 1.173 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/1.221, allocations: 8 kB / 1.173 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/1.221, allocations: 7.984 kB / 1.173 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/1.221, allocations: 6.906 kB / 1.173 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/1.222, allocations: 0.5778 MB / 1.173 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/1.222, allocations: 339.5 kB / 1.174 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/1.223, allocations: 19.94 kB / 1.174 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007687/1.223, allocations: 43.94 kB / 1.174 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/1.223, allocations: 26.27 kB / 1.174 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/1.223, allocations: 12 kB / 1.174 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002434/1.226, allocations: 1.551 MB / 1.175 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/1.226, allocations: 0 / 1.175 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002252/1.228, allocations: 0.8231 MB / 1.176 GB, free: 7.918 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002248/1.23, allocations: 1.465 MB / 1.177 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003037/1.233, allocations: 1.444 MB / 1.179 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.233, allocations: 10.91 kB / 1.179 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/1.234, allocations: 119.7 kB / 1.179 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/1.238, allocations: 1.083 MB / 1.18 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/1.259, allocations: 13.76 MB / 1.193 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/1.26, allocations: 1.477 MB / 1.195 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001696/1.262, allocations: 475.8 kB / 1.195 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009695/1.263, allocations: 0.7258 MB / 1.196 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/1.263, allocations: 0 / 1.196 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09356/1.357, allocations: 51.84 MB / 1.247 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.82, allocations: 16.53 kB / 1.247 GB, free: 15.68 MB / 0.8887 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)