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.0007285/0.0007285, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.003984/0.003984, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.153/1.153, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6752/0.6752, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002678, allocations: 8.906 kB / 0.5041 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3275, allocations: 81.57 MB / 0.5837 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.5208/0.8483, allocations: 298.5 MB / 0.8752 GB, free: 20.8 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02105/0.8694, allocations: 25.44 MB / 0.9001 GB, free: 20.33 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.8712, allocations: 68.31 kB / 0.9001 GB, free: 20.33 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.8736, allocations: 1.197 MB / 0.9013 GB, free: 20.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.8784, allocations: 2.701 MB / 0.9039 GB, free: 20.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.8829, allocations: 2.342 MB / 0.9062 GB, free: 20.08 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004605/0.8875, allocations: 5.607 MB / 0.9117 GB, free: 20.07 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.889, allocations: 1.429 MB / 0.9131 GB, free: 19.71 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.8917, allocations: 1.886 MB / 0.9149 GB, free: 19.4 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.8933, allocations: 1.209 MB / 0.9161 GB, free: 19.2 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.8935, allocations: 63.06 kB / 0.9162 GB, free: 19.2 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004367/0.8978, allocations: 3.261 MB / 0.9194 GB, free: 18.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003611/0.8982, allocations: 478 kB / 0.9198 GB, free: 18.33 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007353/0.8989, allocations: 0.9147 MB / 0.9207 GB, free: 18.26 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003563/0.9025, allocations: 4.222 MB / 0.9248 GB, free: 16.15 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.9025, allocations: 0 / 0.9248 GB, free: 16.15 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9025, allocations: 3.938 kB / 0.9248 GB, free: 16.14 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.9026, allocations: 0 / 0.9248 GB, free: 16.14 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.002267/0.9048, allocations: 1.94 MB / 0.9267 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.9049, allocations: 12.28 kB / 0.9267 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.905, allocations: 166.7 kB / 0.9269 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.908, allocations: 0.6205 MB / 0.9275 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.9103, allocations: 1.911 MB / 0.9294 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005858/0.9109, allocations: 219.2 kB / 0.9296 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.911, allocations: 116.9 kB / 0.9297 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.913, allocations: 1.4 MB / 0.9311 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.913, allocations: 5.281 kB / 0.9311 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/0.9131, allocations: 44.03 kB / 0.9311 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/0.9132, allocations: 45.8 kB / 0.9312 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.9151, allocations: 1.065 MB / 0.9322 GB, free: 12.02 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.005321/0.9205, allocations: 6.898 MB / 0.9389 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.9218, allocations: 374.9 kB / 0.9393 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.9221, allocations: 128.8 kB / 0.9394 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.9223, allocations: 190.2 kB / 0.9396 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.9223, allocations: 34.56 kB / 0.9396 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002893/0.9226, allocations: 75.05 kB / 0.9397 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.9226, allocations: 0 / 0.9397 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20): time 0.001209/0.9238, allocations: 0.539 MB / 0.9402 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.9238, allocations: 51.41 kB / 0.9403 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.9256, allocations: 1.738 MB / 0.942 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.9256, allocations: 37.7 kB / 0.942 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.9261, allocations: 0.8353 MB / 0.9428 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.9261, allocations: 75 kB / 0.9429 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.9262, allocations: 61.69 kB / 0.943 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.9262, allocations: 333.9 kB / 0.9433 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006661/0.9269, allocations: 300.3 kB / 0.9436 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008007/0.9277, allocations: 0.6781 MB / 0.9442 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.9291, allocations: 0.8485 MB / 0.945 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.9291, allocations: 4 kB / 0.9451 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002016/0.9311, allocations: 1.065 MB / 0.9461 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002292/0.9314, allocations: 439 kB / 0.9465 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.9314, allocations: 12 kB / 0.9465 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.9314, allocations: 20 kB / 0.9465 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/0.9321, allocations: 204.6 kB / 0.9467 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.9322, allocations: 32.98 kB / 0.9468 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.9333, allocations: 190.8 kB / 0.9469 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.9334, allocations: 43.98 kB / 0.947 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-06/0.9334, allocations: 2.188 kB / 0.947 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00151/0.9349, allocations: 0.8057 MB / 0.9478 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.9349, allocations: 12.88 kB / 0.9478 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.935, allocations: 16 kB / 0.9478 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/0.9356, allocations: 192.6 kB / 0.948 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.9356, allocations: 28.89 kB / 0.948 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000851/0.9364, allocations: 128.6 kB / 0.9481 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/0.9365, allocations: 43.98 kB / 0.9482 GB, free: 11.7 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005466/0.9371, allocations: 0.5173 MB / 0.9487 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.9372, allocations: 158 kB / 0.9488 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009363/0.9382, allocations: 435.7 kB / 0.9493 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.9382, allocations: 4 kB / 0.9493 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.9382, allocations: 0 / 0.9493 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.9382, allocations: 0 / 0.9493 GB, free: 10.59 MB / 0.6544 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.002154/0.9404, allocations: 1.519 MB / 0.9507 GB, free: 9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.9404, allocations: 8.188 kB / 0.9508 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.9407, allocations: 58.58 kB / 0.9508 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.9407, allocations: 4 kB / 0.9508 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.9407, allocations: 10.38 kB / 0.9508 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.9407, allocations: 0 / 0.9508 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9407, allocations: 4 kB / 0.9508 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008357/0.9416, allocations: 0.5655 MB / 0.9514 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.9419, allocations: 294.9 kB / 0.9517 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.942, allocations: 7.984 kB / 0.9517 GB, free: 8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007847/0.9428, allocations: 79.92 kB / 0.9517 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.9429, allocations: 19.98 kB / 0.9518 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.9429, allocations: 19.97 kB / 0.9518 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001584/0.9445, allocations: 1.206 MB / 0.953 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.61e-07/0.9445, allocations: 0 / 0.953 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001516/0.946, allocations: 0.684 MB / 0.9536 GB, free: 5.973 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/0.9475, allocations: 1.288 MB / 0.9549 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.9495, allocations: 0.9558 MB / 0.9558 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9495, allocations: 0 / 0.9558 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.9498, allocations: 132.2 kB / 0.9559 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/0.9533, allocations: 0.7922 MB / 0.9567 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/0.9743, allocations: 12.18 MB / 0.9686 GB, free: 5.922 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007822/0.9751, allocations: 1.287 MB / 0.9699 GB, free: 4.605 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00142/0.9765, allocations: 346 kB / 0.9702 GB, free: 4.262 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006966/0.9772, allocations: 0.6008 MB / 0.9708 GB, free: 3.66 MB / 0.67 GB Notification: Performance of SimCode: time 3.91e-07/0.9772, allocations: 0 / 0.9708 GB, free: 3.66 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.03/2.007, allocations: 40.24 MB / 1.01 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/2.007, allocations: 198.3 kB / 1.01 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.58/6.588, allocations: 0 / 1.01 GB, free: 11.75 MB / 0.7169 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/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)