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: "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IDEAS_IDEAS_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.001258/0.001258, allocations: 99.62 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.001516/0.001517, allocations: 177.3 kB / 15.94 MB, free: 228 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.908/1.908, allocations: 223.2 MB / 239.9 MB, free: 5.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.184/1.184, allocations: 132.3 MB / 423.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005986/0.0005987, allocations: 8 kB / 0.5033 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7144/0.7151, allocations: 81.57 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.HeaterFan): time 0.7905/1.506, allocations: 253.1 MB / 0.8301 GB, free: 22.31 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02413/1.53, allocations: 24.02 MB / 0.8536 GB, free: 22.1 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/1.532, allocations: 64.78 kB / 0.8536 GB, free: 22.1 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002867/1.535, allocations: 1.001 MB / 0.8546 GB, free: 22.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007845/1.543, allocations: 2.933 MB / 0.8575 GB, free: 22.06 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005145/1.548, allocations: 1.925 MB / 0.8594 GB, free: 22.03 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005026/1.553, allocations: 2.841 MB / 0.8621 GB, free: 22.03 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/1.555, allocations: 1.41 MB / 0.8635 GB, free: 21.84 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003148/1.558, allocations: 1.608 MB / 0.8651 GB, free: 21.83 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/1.56, allocations: 0.8671 MB / 0.8659 GB, free: 21.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/1.56, allocations: 65.22 kB / 0.866 GB, free: 21.82 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003537/1.563, allocations: 1.671 MB / 0.8676 GB, free: 21.82 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004452/1.564, allocations: 448.4 kB / 0.8681 GB, free: 21.82 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005106/1.564, allocations: 464.5 kB / 0.8685 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00317/1.567, allocations: 3.223 MB / 0.8717 GB, free: 21.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/1.567, allocations: 0 / 0.8717 GB, free: 21.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.493e-06/1.567, allocations: 4 kB / 0.8717 GB, free: 21.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.053e-05/1.567, allocations: 3.094 kB / 0.8717 GB, free: 21.59 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.003062/1.571, allocations: 2.065 MB / 0.8737 GB, free: 20.42 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/1.571, allocations: 11.97 kB / 0.8737 GB, free: 20.42 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/1.571, allocations: 189 kB / 0.8739 GB, free: 20.38 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004713/1.576, allocations: 0.8685 MB / 0.8747 GB, free: 20.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/1.579, allocations: 1.925 MB / 0.8766 GB, free: 19.83 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006024/1.579, allocations: 233.6 kB / 0.8768 GB, free: 19.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/1.579, allocations: 131.5 kB / 0.8769 GB, free: 19.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/1.582, allocations: 1.654 MB / 0.8786 GB, free: 19.63 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/1.582, allocations: 4 kB / 0.8786 GB, free: 19.62 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/1.583, allocations: 53.45 kB / 0.8786 GB, free: 19.62 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/1.583, allocations: 51.53 kB / 0.8787 GB, free: 19.62 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/1.586, allocations: 1.498 MB / 0.8801 GB, free: 19.39 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.008182/1.594, allocations: 7.398 MB / 0.8874 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/1.596, allocations: 0.737 MB / 0.8881 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/1.596, allocations: 12.39 kB / 0.8881 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/1.597, allocations: 44.36 kB / 0.8881 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005634/1.597, allocations: 88.42 kB / 0.8882 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=37): time 2.214e-06/1.597, allocations: 0 / 0.8882 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37): time 0.002641/1.6, allocations: 1.324 MB / 0.8895 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/1.6, allocations: 56.45 kB / 0.8896 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/1.602, allocations: 1.848 MB / 0.8914 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.952e-05/1.602, allocations: 36.83 kB / 0.8914 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/1.603, allocations: 0.8221 MB / 0.8922 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.043e-05/1.603, allocations: 137 kB / 0.8923 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/1.603, allocations: 10.06 kB / 0.8923 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/1.603, allocations: 329.8 kB / 0.8927 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/1.604, allocations: 414.8 kB / 0.893 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/1.605, allocations: 0.6547 MB / 0.8937 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/1.606, allocations: 453.2 kB / 0.8941 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.606, allocations: 6.219 kB / 0.8941 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002758/1.609, allocations: 1.397 MB / 0.8955 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003386/1.609, allocations: 2.56 MB / 0.898 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.609, allocations: 9.031 kB / 0.898 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/1.61, allocations: 57.25 kB / 0.8981 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.611, allocations: 218.7 kB / 0.8983 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/1.612, allocations: 2.83 MB / 0.901 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/1.614, allocations: 282.1 kB / 0.9013 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/1.614, allocations: 32.73 kB / 0.9013 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/1.614, allocations: 6.281 kB / 0.9013 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002227/1.616, allocations: 1.161 MB / 0.9025 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.616, allocations: 8.094 kB / 0.9025 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.983e-05/1.616, allocations: 55.23 kB / 0.9025 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008951/1.617, allocations: 206.5 kB / 0.9027 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/1.618, allocations: 2.822 MB / 0.9055 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/1.62, allocations: 215.2 kB / 0.9057 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/1.62, allocations: 30.91 kB / 0.9057 GB, free: 2.598 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007531/1.621, allocations: 0.5233 MB / 0.9062 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/1.621, allocations: 172.9 kB / 0.9064 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/1.623, allocations: 0.938 MB / 0.9073 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.623, allocations: 6.281 kB / 0.9073 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/1.623, allocations: 0 / 0.9073 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.623, allocations: 0 / 0.9073 GB, free: 1.855 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.003063/1.626, allocations: 2.236 MB / 0.9095 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.626, allocations: 0 / 0.9095 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/1.626, allocations: 98.11 kB / 0.9096 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/1.627, allocations: 57.56 kB / 0.9096 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/1.627, allocations: 9.734 kB / 0.9097 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/1.628, allocations: 2.831 MB / 0.9124 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.628, allocations: 0 / 0.9124 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/1.63, allocations: 1.069 MB / 0.9135 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/1.63, allocations: 324.9 kB / 0.9138 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/1.631, allocations: 12.67 kB / 0.9138 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.632, allocations: 142.8 kB / 0.9139 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/1.632, allocations: 22.59 kB / 0.9139 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/1.632, allocations: 17.78 kB / 0.914 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001948/1.634, allocations: 1.32 MB / 0.9152 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.082e-06/1.634, allocations: 0 / 0.9152 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002092/1.636, allocations: 0.7627 MB / 0.916 GB, free: 12.59 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002377/1.638, allocations: 2.055 MB / 0.918 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003491/1.642, allocations: 1.735 MB / 0.9197 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.642, allocations: 0 / 0.9197 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007865/1.643, allocations: 0.5015 MB / 0.9202 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/1.647, allocations: 0.954 MB / 0.9211 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007369/1.655, allocations: 8.612 MB / 0.9295 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008797/1.656, allocations: 1.377 MB / 0.9309 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001951/1.658, allocations: 381 kB / 0.9312 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007795/1.658, allocations: 0.6531 MB / 0.9319 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/1.658, allocations: 0 / 0.9319 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09712/1.756, allocations: 47.87 MB / 0.9786 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002859/1.756, allocations: 181 kB / 0.9788 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.439/6.195, allocations: 0 / 0.9788 GB, free: 2.418 MB / 0.7012 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Validation_HeaterFan.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) Environment - environmentSimulation: