Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan",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.00101/0.00101, allocations: 103 kB / 16.4 MB, free: 6.508 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.001024/0.001024, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7031/0.7031, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 61.67 kB / 0.5572 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.167, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan): time 0.7082/0.8751, allocations: 312.6 MB / 0.9369 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0351/0.9103, allocations: 29.36 MB / 0.9656 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004518/0.9148, allocations: 83.56 kB / 0.9657 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007019/0.9219, allocations: 2.386 MB / 0.968 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00956/0.9315, allocations: 3.189 MB / 0.9711 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007505/0.939, allocations: 2.742 MB / 0.9738 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01292/0.9519, allocations: 7.551 MB / 0.9811 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005202/0.9572, allocations: 2.078 MB / 0.9832 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007781/0.965, allocations: 2.425 MB / 0.9855 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004304/0.9693, allocations: 1.528 MB / 0.987 GB, free: 124 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008431/0.9702, allocations: 256 kB / 0.9873 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008053/0.9783, allocations: 3.602 MB / 0.9908 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.9795, allocations: 0.8257 MB / 0.9916 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002337/0.9819, allocations: 1.396 MB / 0.993 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.008462/0.9903, allocations: 5.434 MB / 0.9983 GB, free: 4.582 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.9904, allocations: 3.984 kB / 0.9983 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9904, allocations: 0 / 0.9983 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001177/0.9905, allocations: 0 / 0.9983 GB, free: 4.578 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.00597/0.9965, allocations: 2.935 MB / 1.001 GB, free: 1.57 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.9965, allocations: 8.031 kB / 1.001 GB, free: 1.562 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003615/0.9969, allocations: 198.2 kB / 1.001 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005928/1.003, allocations: 0.9336 MB / 1.002 GB, free: 432 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/1.013, allocations: 5.738 MB / 1.008 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/1.013, allocations: 106.6 kB / 1.008 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004017/1.014, allocations: 132 kB / 1.008 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003627/1.017, allocations: 1.593 MB / 1.01 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/1.017, allocations: 4 kB / 1.01 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/1.018, allocations: 55.94 kB / 1.01 GB, free: 8.676 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.306e-05/1.018, allocations: 46.5 kB / 1.01 GB, free: 8.629 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003157/1.021, allocations: 1.321 MB / 1.011 GB, free: 7.301 MB / 0.7637 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.01112/1.032, allocations: 7.606 MB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/1.034, allocations: 0.6866 MB / 1.019 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000625/1.035, allocations: 252.7 kB / 1.019 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/1.035, allocations: 186.2 kB / 1.02 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/1.035, allocations: 42.55 kB / 1.02 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 2.394e-06/1.035, allocations: 0 / 1.02 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.002918/1.038, allocations: 1.035 MB / 1.021 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/1.038, allocations: 67.34 kB / 1.021 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004059/1.042, allocations: 2.36 MB / 1.023 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/1.042, allocations: 33.7 kB / 1.023 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000873/1.043, allocations: 0.9612 MB / 1.024 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/1.043, allocations: 130.3 kB / 1.024 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004382/1.044, allocations: 258.2 kB / 1.024 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.044, allocations: 349.9 kB / 1.025 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/1.045, allocations: 0.5164 MB / 1.025 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/1.046, allocations: 0.7894 MB / 1.026 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/1.048, allocations: 1.124 MB / 1.027 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.048, allocations: 4 kB / 1.027 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003295/1.052, allocations: 1.625 MB / 1.029 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/1.052, allocations: 8 kB / 1.029 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.052, allocations: 11.94 kB / 1.029 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/1.052, allocations: 36.84 kB / 1.029 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.053, allocations: 239.8 kB / 1.029 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/1.054, allocations: 1.569 MB / 1.03 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/1.056, allocations: 238.2 kB / 1.031 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/1.056, allocations: 43.98 kB / 1.031 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001935/1.058, allocations: 1.018 MB / 1.032 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001277/1.059, allocations: 0.7814 MB / 1.032 GB, free: 140 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001836/1.061, allocations: 1.096 MB / 1.034 GB, free: 14.95 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.023e-06/1.061, allocations: 0 / 1.034 GB, free: 14.95 MB / 0.795 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003214/1.064, allocations: 1.607 MB / 1.035 GB, free: 13.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.064, allocations: 9.562 kB / 1.035 GB, free: 13.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.065, allocations: 11.98 kB / 1.035 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001157/1.065, allocations: 37.22 kB / 1.035 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.066, allocations: 231.7 kB / 1.035 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/1.067, allocations: 1.572 MB / 1.037 GB, free: 11.31 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/1.069, allocations: 167.3 kB / 1.037 GB, free: 11.14 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.477e-05/1.069, allocations: 44 kB / 1.037 GB, free: 11.1 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002615/1.069, allocations: 231.9 kB / 1.037 GB, free: 10.87 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/1.069, allocations: 209.2 kB / 1.038 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/1.071, allocations: 0.7629 MB / 1.038 GB, free: 9.863 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/1.071, allocations: 4 kB / 1.038 GB, free: 9.859 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/1.071, allocations: 0 / 1.038 GB, free: 9.859 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.071, allocations: 0 / 1.038 GB, free: 9.859 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/1.075, allocations: 2.165 MB / 1.04 GB, free: 7.594 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.075, allocations: 0 / 1.04 GB, free: 7.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/1.075, allocations: 100.1 kB / 1.04 GB, free: 7.496 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.548e-05/1.075, allocations: 32.78 kB / 1.041 GB, free: 7.461 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/1.075, allocations: 11.98 kB / 1.041 GB, free: 7.449 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009262/1.076, allocations: 1.554 MB / 1.042 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.076, allocations: 4.031 kB / 1.042 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/1.078, allocations: 0.8889 MB / 1.043 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005554/1.078, allocations: 354.3 kB / 1.043 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/1.079, allocations: 11.98 kB / 1.043 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009949/1.08, allocations: 67.97 kB / 1.043 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/1.08, allocations: 35.83 kB / 1.043 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/1.08, allocations: 19.98 kB / 1.043 GB, free: 4.305 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002362/1.082, allocations: 1.639 MB / 1.045 GB, free: 2.656 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/1.082, allocations: 0 / 1.045 GB, free: 2.656 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002176/1.084, allocations: 0.8969 MB / 1.046 GB, free: 1.758 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3161/1.4, allocations: 1.756 MB / 1.048 GB, free: 325.8 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004395/1.405, allocations: 1.826 MB / 1.049 GB, free: 325.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.405, allocations: 1.156 kB / 1.049 GB, free: 325.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006699/1.406, allocations: 350.1 kB / 1.05 GB, free: 325.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004924/1.411, allocations: 1.242 MB / 1.051 GB, free: 325.4 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02285/1.433, allocations: 14.7 MB / 1.065 GB, free: 319 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/1.435, allocations: 1.535 MB / 1.067 GB, free: 318.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002078/1.437, allocations: 478.1 kB / 1.067 GB, free: 318.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009122/1.438, allocations: 0.8019 MB / 1.068 GB, free: 317.5 MB / 0.795 GB Notification: Performance of SimCode: time 6.21e-07/1.438, allocations: 3.391 kB / 1.068 GB, free: 317.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07761/1.515, allocations: 57.14 MB / 1.124 GB, free: 267.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.89, allocations: 0 / 1.124 GB, free: 267.3 MB / 0.795 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)