Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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: translateModel(IDEAS.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan") translateModel(IDEAS.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008139/0.0008134, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005352/0.005352, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.456/1.456, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7849/0.7849, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003712, allocations: 11.94 kB / 0.504 GB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5276, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.HeaterFan): time 0.7891/1.317, allocations: 306.2 MB / 0.8827 GB, free: 20.66 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03255/1.349, allocations: 27.32 MB / 0.9094 GB, free: 20.12 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003474/1.353, allocations: 71.62 kB / 0.9094 GB, free: 20.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004037/1.357, allocations: 1.326 MB / 0.9107 GB, free: 20.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008488/1.365, allocations: 2.81 MB / 0.9135 GB, free: 19.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00683/1.372, allocations: 2.356 MB / 0.9158 GB, free: 19.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008541/1.381, allocations: 5.996 MB / 0.9216 GB, free: 19.07 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003375/1.384, allocations: 1.611 MB / 0.9232 GB, free: 18.53 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006163/1.391, allocations: 1.975 MB / 0.9251 GB, free: 18.22 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004299/1.395, allocations: 1.325 MB / 0.9264 GB, free: 18.01 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005938/1.395, allocations: 70.56 kB / 0.9265 GB, free: 18 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008483/1.404, allocations: 3.617 MB / 0.93 GB, free: 17.02 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001254/1.405, allocations: 0.4914 MB / 0.9305 GB, free: 16.79 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00254/1.408, allocations: 0.9957 MB / 0.9315 GB, free: 16.27 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01088/1.419, allocations: 4.67 MB / 0.936 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/1.419, allocations: 3.938 kB / 0.936 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of FrontEnd: time 5.29e-06/1.419, allocations: 0 / 0.936 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001159/1.419, allocations: 0 / 0.936 GB, free: 13.38 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.00505/1.424, allocations: 2.096 MB / 0.9381 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.424, allocations: 10.09 kB / 0.9381 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005229/1.429, allocations: 0.8615 MB / 0.9389 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003539/1.433, allocations: 2.001 MB / 0.9409 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006444/1.434, allocations: 238.5 kB / 0.9411 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/1.434, allocations: 128 kB / 0.9412 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003277/1.437, allocations: 1.665 MB / 0.9429 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/1.437, allocations: 0.9375 kB / 0.9429 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/1.437, allocations: 56 kB / 0.9429 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-05/1.437, allocations: 51.81 kB / 0.943 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/1.441, allocations: 1.509 MB / 0.9445 GB, free: 5.48 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.01061/1.452, allocations: 7.395 MB / 0.9517 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/1.454, allocations: 0.6951 MB / 0.9524 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008411/1.455, allocations: 311.5 kB / 0.9526 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/1.455, allocations: 189.3 kB / 0.9528 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/1.455, allocations: 34.55 kB / 0.9529 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001212/1.457, allocations: 90.81 kB / 0.9529 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 4.238e-06/1.457, allocations: 7.984 kB / 0.953 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.003576/1.46, allocations: 1.337 MB / 0.9543 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/1.46, allocations: 55.41 kB / 0.9543 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003353/1.464, allocations: 1.859 MB / 0.9561 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/1.464, allocations: 33.7 kB / 0.9562 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007231/1.465, allocations: 0.8216 MB / 0.957 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/1.465, allocations: 134.7 kB / 0.9571 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/1.465, allocations: 57.69 kB / 0.9571 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.465, allocations: 333.9 kB / 0.9575 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/1.466, allocations: 425.1 kB / 0.9579 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/1.468, allocations: 0.6581 MB / 0.9585 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/1.47, allocations: 0.8861 MB / 0.9594 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/1.47, allocations: 4 kB / 0.9594 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003567/1.474, allocations: 1.423 MB / 0.9608 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001864/1.474, allocations: 272.6 kB / 0.961 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.474, allocations: 8 kB / 0.961 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/1.474, allocations: 61.39 kB / 0.9611 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.475, allocations: 219.3 kB / 0.9613 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/1.477, allocations: 2.826 MB / 0.9641 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.48, allocations: 280.2 kB / 0.9643 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.48, allocations: 40.03 kB / 0.9644 GB, free: 15.99 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/1.48, allocations: 4 kB / 0.9644 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002823/1.483, allocations: 1.154 MB / 0.9655 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.483, allocations: 11.98 kB / 0.9655 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/1.483, allocations: 60.42 kB / 0.9656 GB, free: 14.76 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.484, allocations: 201 kB / 0.9658 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/1.486, allocations: 2.819 MB / 0.9685 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/1.488, allocations: 212.5 kB / 0.9687 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-05/1.488, allocations: 31.98 kB / 0.9688 GB, free: 11.27 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (69): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001019/1.489, allocations: 0.5208 MB / 0.9693 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/1.489, allocations: 169.8 kB / 0.9694 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/1.491, allocations: 0.9407 MB / 0.9703 GB, free: 9.578 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/1.491, allocations: 7.984 kB / 0.9703 GB, free: 9.57 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.491, allocations: 0 / 0.9703 GB, free: 9.57 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/1.491, allocations: 0 / 0.9703 GB, free: 9.57 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.004059/1.496, allocations: 2.181 MB / 0.9725 GB, free: 7.293 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.496, allocations: 0 / 0.9725 GB, free: 7.293 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/1.496, allocations: 98.86 kB / 0.9726 GB, free: 7.199 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/1.496, allocations: 52.59 kB / 0.9726 GB, free: 7.145 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/1.496, allocations: 11.98 kB / 0.9726 GB, free: 7.133 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/1.498, allocations: 2.832 MB / 0.9754 GB, free: 4.047 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.498, allocations: 4.031 kB / 0.9754 GB, free: 4.043 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/1.501, allocations: 0.9912 MB / 0.9764 GB, free: 2.98 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007513/1.501, allocations: 330.8 kB / 0.9767 GB, free: 2.637 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/1.501, allocations: 12 kB / 0.9767 GB, free: 2.625 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.503, allocations: 135.8 kB / 0.9768 GB, free: 2.492 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/1.503, allocations: 27.02 kB / 0.9769 GB, free: 2.469 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/1.503, allocations: 23.95 kB / 0.9769 GB, free: 2.445 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002575/1.505, allocations: 1.333 MB / 0.9782 GB, free: 1.09 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.71e-07/1.506, allocations: 0 / 0.9782 GB, free: 1.09 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003079/1.509, allocations: 0.7718 MB / 0.9789 GB, free: 324 kB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0007963/1.509, allocations: 302.2 kB / 0.9792 GB, free: 32 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004433/1.514, allocations: 1.737 MB / 0.9809 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/1.514, allocations: 4 kB / 0.9809 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.515, allocations: 0.4906 MB / 0.9814 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005646/1.521, allocations: 0.9536 MB / 0.9823 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005724/1.526, allocations: 3.24 MB / 0.9855 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009794/1.527, allocations: 1.344 MB / 0.9868 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002255/1.53, allocations: 375 kB / 0.9872 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/1.53, allocations: 123.4 kB / 0.9873 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of SimCode: time 1.523e-06/1.53, allocations: 4 kB / 0.9873 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of Templates: time 0.05831/1.588, allocations: 34.22 MB / 1.021 GB, free: 6.016 MB / 0.7169 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.sim & ./IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)