Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="IDEAS_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.0009277/0.0009274, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001058/0.001058, allocations: 168.7 kB / 15.95 MB, free: 204 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.375/1.375, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7345/0.7345, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003272, allocations: 8 kB / 0.5035 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4502, allocations: 81.57 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.7222/1.173, allocations: 278.3 MB / 0.8549 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02657/1.199, allocations: 23.79 MB / 0.8782 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004019/1.203, allocations: 68.75 kB / 0.8782 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003408/1.207, allocations: 0.8722 MB / 0.8791 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008245/1.215, allocations: 2.083 MB / 0.8811 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0063/1.221, allocations: 1.741 MB / 0.8828 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007527/1.229, allocations: 4.793 MB / 0.8875 GB, free: 24.83 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/1.231, allocations: 1.186 MB / 0.8887 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005043/1.236, allocations: 1.715 MB / 0.8903 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/1.239, allocations: 1.137 MB / 0.8914 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003587/1.239, allocations: 61.06 kB / 0.8915 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005352/1.245, allocations: 1.664 MB / 0.8931 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007663/1.245, allocations: 472.6 kB / 0.8936 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008652/1.246, allocations: 427.9 kB / 0.894 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004269/1.251, allocations: 3.05 MB / 0.897 GB, free: 23.83 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.251, allocations: 3.312 kB / 0.897 GB, free: 23.83 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.863e-06/1.251, allocations: 0 / 0.897 GB, free: 23.83 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.011e-05/1.251, allocations: 0 / 0.897 GB, free: 23.83 MB / 0.6387 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.003366/1.254, allocations: 1.962 MB / 0.8989 GB, free: 22.51 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/1.254, allocations: 10.38 kB / 0.8989 GB, free: 22.51 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001944/1.254, allocations: 167 kB / 0.899 GB, free: 22.44 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/1.258, allocations: 0.6194 MB / 0.8997 GB, free: 22.19 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003172/1.261, allocations: 1.867 MB / 0.9015 GB, free: 21.4 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005344/1.261, allocations: 215.4 kB / 0.9017 GB, free: 21.36 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/1.262, allocations: 111.3 kB / 0.9018 GB, free: 21.36 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/1.264, allocations: 1.396 MB / 0.9032 GB, free: 20.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/1.264, allocations: 3.375 kB / 0.9032 GB, free: 20.82 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.977e-05/1.264, allocations: 42.84 kB / 0.9032 GB, free: 20.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/1.264, allocations: 49.73 kB / 0.9032 GB, free: 20.82 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/1.266, allocations: 1.053 MB / 0.9043 GB, free: 20.65 MB / 0.6387 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.007032/1.273, allocations: 6.902 MB / 0.911 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/1.275, allocations: 366.5 kB / 0.9114 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/1.275, allocations: 127.4 kB / 0.9115 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002354/1.275, allocations: 195.7 kB / 0.9117 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/1.275, allocations: 41.84 kB / 0.9117 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000444/1.276, allocations: 72.88 kB / 0.9118 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 2.715e-06/1.276, allocations: 0 / 0.9118 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20): time 0.001332/1.277, allocations: 0.5323 MB / 0.9123 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/1.277, allocations: 54.41 kB / 0.9123 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/1.279, allocations: 1.72 MB / 0.914 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/1.279, allocations: 40.41 kB / 0.9141 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006338/1.28, allocations: 0.8288 MB / 0.9149 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/1.28, allocations: 81.92 kB / 0.915 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/1.28, allocations: 11.31 kB / 0.915 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.41e-05/1.28, allocations: 337.6 kB / 0.9153 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006509/1.281, allocations: 283.2 kB / 0.9156 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008446/1.282, allocations: 0.6717 MB / 0.9162 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007689/1.282, allocations: 365.9 kB / 0.9166 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.282, allocations: 3.25 kB / 0.9166 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00191/1.284, allocations: 1.036 MB / 0.9176 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/1.285, allocations: 442 kB / 0.918 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/1.285, allocations: 13.38 kB / 0.918 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/1.285, allocations: 24.66 kB / 0.918 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007037/1.285, allocations: 202.8 kB / 0.9182 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/1.285, allocations: 27.23 kB / 0.9183 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.287, allocations: 177 kB / 0.9184 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/1.287, allocations: 48.3 kB / 0.9185 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/1.287, allocations: 12 kB / 0.9185 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001429/1.288, allocations: 0.7972 MB / 0.9193 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.288, allocations: 12.41 kB / 0.9193 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/1.288, allocations: 22.61 kB / 0.9193 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/1.289, allocations: 187.2 kB / 0.9195 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/1.289, allocations: 27.2 kB / 0.9195 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/1.29, allocations: 128.2 kB / 0.9196 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/1.29, allocations: 45.02 kB / 0.9197 GB, free: 12.27 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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.0007361/1.291, allocations: 0.5139 MB / 0.9202 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/1.291, allocations: 162.7 kB / 0.9203 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009765/1.292, allocations: 428.5 kB / 0.9207 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.292, allocations: 3.953 kB / 0.9207 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.292, allocations: 3.125 kB / 0.9207 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.292, allocations: 7.969 kB / 0.9207 GB, free: 11.82 MB / 0.6387 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.002298/1.294, allocations: 1.519 MB / 0.9222 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.294, allocations: 3.312 kB / 0.9222 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/1.295, allocations: 59.58 kB / 0.9223 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/1.295, allocations: 3.312 kB / 0.9223 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/1.295, allocations: 3.031 kB / 0.9223 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/1.295, allocations: 6.562 kB / 0.9223 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.295, allocations: 7.938 kB / 0.9223 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007778/1.295, allocations: 0.5659 MB / 0.9229 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/1.296, allocations: 286.5 kB / 0.9231 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/1.296, allocations: 10.83 kB / 0.9231 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008103/1.297, allocations: 86.61 kB / 0.9232 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/1.297, allocations: 21.97 kB / 0.9232 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/1.297, allocations: 16.39 kB / 0.9233 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001717/1.299, allocations: 1.196 MB / 0.9244 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/1.299, allocations: 0 / 0.9244 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001993/1.301, allocations: 0.6665 MB / 0.9251 GB, free: 10.09 MB / 0.6387 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.001507/1.302, allocations: 1.3 MB / 0.9264 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002038/1.304, allocations: 0.9319 MB / 0.9273 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.304, allocations: 5.625 kB / 0.9273 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003026/1.305, allocations: 132.4 kB / 0.9274 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/1.308, allocations: 0.793 MB / 0.9282 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/1.328, allocations: 9.273 MB / 0.9372 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009711/1.329, allocations: 1.29 MB / 0.9385 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001804/1.331, allocations: 347.9 kB / 0.9388 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007719/1.332, allocations: 0.6023 MB / 0.9394 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of SimCode: time 6.82e-07/1.332, allocations: 0 / 0.9394 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06786/1.4, allocations: 42.48 MB / 0.9809 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/1.4, allocations: 173.1 kB / 0.981 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/4.003, allocations: 4 kB / 0.9811 GB, free: 4.703 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) Environment - environmentSimulation: