Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 175.8 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009415/0.0009414, allocations: 97.91 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 9.562 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2589, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.8257/1.085, allocations: 247.6 MB / 1.142 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03269/1.117, allocations: 25.14 MB / 1.166 GB, free: 380 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/1.121, allocations: 60.78 kB / 1.167 GB, free: 380 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004481/1.126, allocations: 1.056 MB / 1.168 GB, free: 0 / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01259/1.138, allocations: 2.891 MB / 1.17 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01028/1.148, allocations: 2.881 MB / 1.173 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008404/1.157, allocations: 2.556 MB / 1.176 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003159/1.16, allocations: 1.21 MB / 1.177 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/1.164, allocations: 1.472 MB / 1.178 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/1.167, allocations: 0.8185 MB / 1.179 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004312/1.168, allocations: 62.22 kB / 1.179 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004398/1.172, allocations: 1.326 MB / 1.18 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007047/1.173, allocations: 439.5 kB / 1.181 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0009215/1.174, allocations: 422.8 kB / 1.181 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004449/1.178, allocations: 2.816 MB / 1.184 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/1.178, allocations: 0 / 1.184 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.994e-06/1.178, allocations: 0 / 1.184 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.179e-05/1.178, allocations: 0 / 1.184 GB, free: 7.918 MB / 0.7136 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.003728/1.182, allocations: 1.893 MB / 1.186 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.182, allocations: 9.844 kB / 1.186 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002534/1.182, allocations: 161.9 kB / 1.186 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00329/1.186, allocations: 0.5968 MB / 1.187 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/1.189, allocations: 1.833 MB / 1.188 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006628/1.19, allocations: 221.7 kB / 1.189 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/1.19, allocations: 112.1 kB / 1.189 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/1.192, allocations: 1.386 MB / 1.19 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/1.192, allocations: 8.406 kB / 1.19 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/1.193, allocations: 48.53 kB / 1.19 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/1.193, allocations: 39.69 kB / 1.19 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/1.195, allocations: 1.058 MB / 1.191 GB, free: 3.027 MB / 0.7136 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.009614/1.205, allocations: 7.007 MB / 1.198 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/1.206, allocations: 361.8 kB / 1.198 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.137e-05/1.206, allocations: 8 kB / 1.198 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/1.206, allocations: 38.91 kB / 1.198 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000761/1.207, allocations: 90.84 kB / 1.199 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 2.895e-06/1.207, allocations: 0 / 1.199 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.001564/1.209, allocations: 0.5283 MB / 1.199 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/1.209, allocations: 59.41 kB / 1.199 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/1.212, allocations: 1.718 MB / 1.201 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/1.212, allocations: 33.7 kB / 1.201 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008115/1.213, allocations: 0.8288 MB / 1.202 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/1.213, allocations: 79 kB / 1.202 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/1.213, allocations: 16 kB / 1.202 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.213, allocations: 330 kB / 1.202 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008458/1.214, allocations: 289.8 kB / 1.202 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/1.215, allocations: 0.6718 MB / 1.203 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009305/1.216, allocations: 376.7 kB / 1.203 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/1.216, allocations: 4 kB / 1.203 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002492/1.218, allocations: 1.04 MB / 1.204 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002101/1.22, allocations: 4.966 MB / 1.209 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/1.22, allocations: 16 kB / 1.209 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.203e-05/1.221, allocations: 20 kB / 1.209 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/1.221, allocations: 209.2 kB / 1.209 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/1.221, allocations: 21.72 kB / 1.209 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/1.223, allocations: 180.3 kB / 1.21 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.315e-05/1.223, allocations: 47.98 kB / 1.21 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.223, allocations: 11.89 kB / 1.21 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001743/1.225, allocations: 0.8067 MB / 1.21 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.225, allocations: 12 kB / 1.21 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1.225, allocations: 16 kB / 1.211 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/1.226, allocations: 200.2 kB / 1.211 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/1.226, allocations: 22.61 kB / 1.211 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.227, allocations: 124.6 kB / 1.211 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/1.227, allocations: 43.98 kB / 1.211 GB, free: 14.33 MB / 0.7448 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.0009083/1.228, allocations: 0.5139 MB / 1.211 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/1.228, allocations: 158 kB / 1.212 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/1.229, allocations: 439.6 kB / 1.212 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.229, allocations: 3.953 kB / 1.212 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.229, allocations: 0 / 1.212 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/1.229, allocations: 3.984 kB / 1.212 GB, free: 13.21 MB / 0.7448 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.00281/1.232, allocations: 1.587 MB / 1.214 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.232, allocations: 0 / 1.214 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/1.232, allocations: 59.03 kB / 1.214 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.232, allocations: 0 / 1.214 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/1.232, allocations: 11.98 kB / 1.214 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.232, allocations: 0 / 1.214 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/1.232, allocations: 7.078 kB / 1.214 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/1.233, allocations: 0.7009 MB / 1.214 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/1.234, allocations: 290.9 kB / 1.215 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/1.234, allocations: 11.98 kB / 1.215 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008227/1.235, allocations: 83.81 kB / 1.215 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/1.235, allocations: 19.92 kB / 1.215 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/1.235, allocations: 23.98 kB / 1.215 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001909/1.237, allocations: 1.194 MB / 1.216 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-07/1.237, allocations: 0 / 1.216 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001926/1.239, allocations: 0.6512 MB / 1.216 GB, free: 8.418 MB / 0.7448 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.00205/1.241, allocations: 1.922 MB / 1.218 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002333/1.243, allocations: 0.9448 MB / 1.219 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.243, allocations: 0 / 1.219 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/1.244, allocations: 132.7 kB / 1.219 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/1.247, allocations: 0.806 MB / 1.22 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/1.26, allocations: 12.32 MB / 1.232 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.261, allocations: 1.315 MB / 1.234 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002169/1.263, allocations: 342.1 kB / 1.234 GB, free: 6.211 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008813/1.264, allocations: 0.593 MB / 1.234 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of SimCode: time 3.196e-06/1.264, allocations: 0 / 1.234 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07526/1.339, allocations: 41.1 MB / 1.275 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/1.339, allocations: 203.7 kB / 1.275 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/4.387, allocations: 0 / 1.275 GB, free: 12.71 MB / 0.8073 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)