Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_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.001047/0.001048, 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.0009503/0.0009503, 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 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.021/1.021, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 8 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1527, allocations: 82.31 MB / 0.5873 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.4894/0.6421, allocations: 247 MB / 0.8285 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02756/0.6698, allocations: 22.51 MB / 0.8505 GB, free: 14.73 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.6724, allocations: 63.62 kB / 0.8505 GB, free: 14.67 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003685/0.6761, allocations: 0.9914 MB / 0.8515 GB, free: 13.67 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009133/0.6852, allocations: 2.911 MB / 0.8544 GB, free: 10.75 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005986/0.6912, allocations: 1.892 MB / 0.8562 GB, free: 8.883 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006108/0.6974, allocations: 2.569 MB / 0.8587 GB, free: 6.312 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002742/0.7001, allocations: 1.206 MB / 0.8599 GB, free: 5.09 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004227/0.7044, allocations: 1.546 MB / 0.8614 GB, free: 3.539 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.7062, allocations: 0.7661 MB / 0.8621 GB, free: 2.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004163/0.7067, allocations: 68 kB / 0.8622 GB, free: 2.703 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004234/0.7109, allocations: 1.435 MB / 0.8636 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007735/0.7117, allocations: 426.6 kB / 0.864 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008474/0.7126, allocations: 428.8 kB / 0.8644 GB, free: 432 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.3534/1.066, allocations: 2.882 MB / 0.8672 GB, free: 27.81 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/1.066, allocations: 0 / 0.8672 GB, free: 27.81 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.834e-06/1.066, allocations: 0 / 0.8672 GB, free: 27.81 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.752e-05/1.066, allocations: 0 / 0.8672 GB, free: 27.81 MB / 0.67 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.00261/1.069, allocations: 1.917 MB / 0.8691 GB, free: 26.71 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/1.069, allocations: 8.531 kB / 0.8691 GB, free: 26.71 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/1.069, allocations: 168.5 kB / 0.8693 GB, free: 26.67 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003125/1.072, allocations: 0.6234 MB / 0.8699 GB, free: 26.57 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/1.075, allocations: 1.847 MB / 0.8717 GB, free: 26.18 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006008/1.075, allocations: 220.4 kB / 0.8719 GB, free: 26.16 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/1.075, allocations: 113.8 kB / 0.872 GB, free: 26.16 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/1.077, allocations: 1.387 MB / 0.8734 GB, free: 25.85 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/1.077, allocations: 8.656 kB / 0.8734 GB, free: 25.85 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.716e-05/1.078, allocations: 45.84 kB / 0.8734 GB, free: 25.85 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/1.078, allocations: 46.03 kB / 0.8735 GB, free: 25.85 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/1.08, allocations: 1.059 MB / 0.8745 GB, free: 25.82 MB / 0.67 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.006318/1.086, allocations: 6.906 MB / 0.8812 GB, free: 22.05 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/1.087, allocations: 362.5 kB / 0.8816 GB, free: 22.02 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 5.164e-05/1.087, allocations: 16.59 kB / 0.8816 GB, free: 22.01 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/1.088, allocations: 38.78 kB / 0.8816 GB, free: 21.97 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005089/1.088, allocations: 73.3 kB / 0.8817 GB, free: 21.92 MB / 0.67 GB Notification: Performance of pre-optimization done (n=20): time 3.006e-06/1.088, allocations: 0 / 0.8817 GB, free: 21.92 MB / 0.67 GB Notification: Performance of matching and sorting (n=20): time 0.001348/1.089, allocations: 0.5462 MB / 0.8822 GB, free: 21.79 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/1.089, allocations: 53.62 kB / 0.8823 GB, free: 21.73 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/1.091, allocations: 1.72 MB / 0.884 GB, free: 21.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/1.092, allocations: 31.36 kB / 0.884 GB, free: 21.46 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/1.092, allocations: 0.8312 MB / 0.8848 GB, free: 21.18 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/1.092, allocations: 80.16 kB / 0.8849 GB, free: 21.13 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/1.092, allocations: 15.78 kB / 0.8849 GB, free: 21.13 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.962e-05/1.092, allocations: 336.1 kB / 0.8852 GB, free: 20.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007249/1.093, allocations: 285.4 kB / 0.8855 GB, free: 20.82 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008484/1.094, allocations: 0.676 MB / 0.8862 GB, free: 20.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007826/1.095, allocations: 369 kB / 0.8865 GB, free: 20.28 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.095, allocations: 4.094 kB / 0.8865 GB, free: 20.28 MB / 0.67 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002044/1.097, allocations: 1.042 MB / 0.8875 GB, free: 20.14 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006558/1.097, allocations: 4.97 MB / 0.8924 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.097, allocations: 11.84 kB / 0.8924 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/1.097, allocations: 18.72 kB / 0.8924 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007346/1.098, allocations: 205.4 kB / 0.8926 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/1.098, allocations: 22.28 kB / 0.8926 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/1.1, allocations: 182.4 kB / 0.8928 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/1.1, allocations: 49.97 kB / 0.8929 GB, free: 14.88 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/1.1, allocations: 3.562 kB / 0.8929 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001501/1.101, allocations: 0.8135 MB / 0.8937 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.101, allocations: 13.34 kB / 0.8937 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.101, allocations: 20.44 kB / 0.8937 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/1.102, allocations: 187.2 kB / 0.8939 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/1.102, allocations: 21.41 kB / 0.8939 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/1.103, allocations: 142.8 kB / 0.894 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/1.103, allocations: 44.45 kB / 0.8941 GB, free: 14.83 MB / 0.67 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.0007378/1.104, allocations: 0.5139 MB / 0.8946 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/1.104, allocations: 159.9 kB / 0.8947 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009541/1.105, allocations: 441.4 kB / 0.8951 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.105, allocations: 2.281 kB / 0.8951 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.105, allocations: 0 / 0.8951 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.105, allocations: 7.219 kB / 0.8951 GB, free: 14.48 MB / 0.67 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.002343/1.107, allocations: 1.579 MB / 0.8967 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.107, allocations: 3.969 kB / 0.8967 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/1.108, allocations: 53.72 kB / 0.8967 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/1.108, allocations: 7.781 kB / 0.8968 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/1.108, allocations: 8.984 kB / 0.8968 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/1.108, allocations: 4.219 kB / 0.8968 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.108, allocations: 2.641 kB / 0.8968 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009363/1.109, allocations: 0.7009 MB / 0.8975 GB, free: 13.53 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/1.109, allocations: 287.4 kB / 0.8977 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/1.109, allocations: 8.062 kB / 0.8977 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000824/1.11, allocations: 81.7 kB / 0.8978 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/1.11, allocations: 19.27 kB / 0.8978 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/1.11, allocations: 18.89 kB / 0.8979 GB, free: 13.34 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001922/1.112, allocations: 1.195 MB / 0.899 GB, free: 13.19 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/1.112, allocations: 0 / 0.899 GB, free: 13.19 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002402/1.114, allocations: 0.6577 MB / 0.8997 GB, free: 13.12 MB / 0.67 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.001859/1.116, allocations: 1.939 MB / 0.9016 GB, free: 11.61 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002416/1.119, allocations: 0.9455 MB / 0.9025 GB, free: 11.58 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.119, allocations: 0.9688 kB / 0.9025 GB, free: 11.58 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/1.119, allocations: 138.4 kB / 0.9026 GB, free: 11.57 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/1.122, allocations: 0.8034 MB / 0.9034 GB, free: 11.51 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/1.129, allocations: 12.35 MB / 0.9155 GB, free: 16.87 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.13, allocations: 1.322 MB / 0.9167 GB, free: 16.14 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001773/1.132, allocations: 335.4 kB / 0.9171 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006796/1.132, allocations: 0.5993 MB / 0.9176 GB, free: 16.03 MB / 0.6856 GB Notification: Performance of SimCode: time 6.21e-07/1.132, allocations: 0 / 0.9176 GB, free: 16.03 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.683/3.815, allocations: 41.21 MB / 0.9579 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/3.815, allocations: 183.5 kB / 0.9581 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.285/8.1, allocations: 0 / 0.9581 GB, free: 1.879 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) Environment - environmentSimulation: