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: translateModel(IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008734/0.0008734, allocations: 98.27 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.007782/0.007782, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.523/1.523, allocations: 223.3 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-master/package.mo): time 1.149/1.149, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003969, allocations: 8.719 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1873, allocations: 82.3 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.255/1.442, allocations: 298.5 MB / 0.8794 GB, free: 20.63 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03092/1.473, allocations: 25.43 MB / 0.9043 GB, free: 20.44 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003632/1.477, allocations: 68.03 kB / 0.9043 GB, free: 20.44 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004218/1.481, allocations: 1.2 MB / 0.9055 GB, free: 20.43 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01127/1.493, allocations: 2.695 MB / 0.9081 GB, free: 20.3 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0103/1.503, allocations: 2.348 MB / 0.9104 GB, free: 20.23 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01396/1.517, allocations: 5.617 MB / 0.9159 GB, free: 20.22 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004638/1.522, allocations: 1.415 MB / 0.9173 GB, free: 19.98 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008574/1.53, allocations: 1.881 MB / 0.9191 GB, free: 19.95 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005932/1.536, allocations: 1.209 MB / 0.9203 GB, free: 19.95 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006993/1.537, allocations: 62.44 kB / 0.9204 GB, free: 19.95 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01182/1.549, allocations: 3.262 MB / 0.9235 GB, free: 19.91 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00182/1.551, allocations: 485.5 kB / 0.924 GB, free: 19.91 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003573/1.554, allocations: 0.9184 MB / 0.9249 GB, free: 19.88 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01513/1.569, allocations: 4.208 MB / 0.929 GB, free: 19.68 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/1.57, allocations: 1.031 kB / 0.929 GB, free: 19.68 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.747e-06/1.57, allocations: 3.938 kB / 0.929 GB, free: 19.67 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001662/1.57, allocations: 0 / 0.929 GB, free: 19.67 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.008075/1.578, allocations: 1.947 MB / 0.9309 GB, free: 18.54 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/1.578, allocations: 10 kB / 0.9309 GB, free: 18.54 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006117/1.584, allocations: 0.624 MB / 0.9315 GB, free: 18.43 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00572/1.59, allocations: 1.909 MB / 0.9334 GB, free: 17.97 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007395/1.591, allocations: 218.2 kB / 0.9336 GB, free: 17.96 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003863/1.591, allocations: 116.3 kB / 0.9337 GB, free: 17.96 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003591/1.595, allocations: 1.407 MB / 0.9351 GB, free: 17.64 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/1.595, allocations: 4.812 kB / 0.9351 GB, free: 17.64 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/1.595, allocations: 44.38 kB / 0.9351 GB, free: 17.64 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.89e-05/1.595, allocations: 42.22 kB / 0.9352 GB, free: 17.64 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003931/1.599, allocations: 1.07 MB / 0.9362 GB, free: 17.61 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.01203/1.611, allocations: 6.907 MB / 0.943 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/1.613, allocations: 365.8 kB / 0.9433 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/1.613, allocations: 127.2 kB / 0.9434 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/1.613, allocations: 188.8 kB / 0.9436 GB, free: 12.76 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/1.613, allocations: 45.19 kB / 0.9437 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000875/1.614, allocations: 74.8 kB / 0.9437 GB, free: 12.66 MB / 0.67 GB Notification: Performance of pre-optimization done (n=20): time 3.026e-06/1.614, allocations: 1.875 kB / 0.9437 GB, free: 12.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=20): time 0.001569/1.616, allocations: 0.5289 MB / 0.9443 GB, free: 12.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/1.616, allocations: 55.41 kB / 0.9443 GB, free: 12.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/1.618, allocations: 1.743 MB / 0.946 GB, free: 11.93 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.516e-05/1.618, allocations: 34.48 kB / 0.946 GB, free: 11.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005849/1.619, allocations: 0.8388 MB / 0.9469 GB, free: 11.53 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/1.619, allocations: 72.53 kB / 0.9469 GB, free: 11.48 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/1.619, allocations: 62.56 kB / 0.947 GB, free: 11.46 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.893e-05/1.619, allocations: 334.7 kB / 0.9473 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007447/1.62, allocations: 299.2 kB / 0.9476 GB, free: 11.09 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009184/1.621, allocations: 0.6781 MB / 0.9483 GB, free: 10.53 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/1.622, allocations: 0.8529 MB / 0.9491 GB, free: 10.02 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/1.622, allocations: 2.906 kB / 0.9491 GB, free: 10.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002347/1.625, allocations: 1.06 MB / 0.9501 GB, free: 9.758 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002153/1.625, allocations: 448.2 kB / 0.9506 GB, free: 9.223 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.625, allocations: 9.875 kB / 0.9506 GB, free: 9.223 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/1.625, allocations: 23.25 kB / 0.9506 GB, free: 9.219 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/1.626, allocations: 197.4 kB / 0.9508 GB, free: 9.184 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/1.626, allocations: 27.2 kB / 0.9508 GB, free: 9.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/1.627, allocations: 184.2 kB / 0.951 GB, free: 9.117 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/1.628, allocations: 49.84 kB / 0.951 GB, free: 9.113 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/1.628, allocations: 5.406 kB / 0.951 GB, free: 9.113 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001641/1.629, allocations: 0.806 MB / 0.9518 GB, free: 8.996 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.629, allocations: 10.09 kB / 0.9518 GB, free: 8.996 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.629, allocations: 22.2 kB / 0.9519 GB, free: 8.992 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/1.63, allocations: 188.4 kB / 0.952 GB, free: 8.961 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/1.63, allocations: 30.11 kB / 0.9521 GB, free: 8.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/1.632, allocations: 132.8 kB / 0.9522 GB, free: 8.914 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.679e-05/1.632, allocations: 38.7 kB / 0.9522 GB, free: 8.91 MB / 0.67 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.001567/1.633, allocations: 0.5174 MB / 0.9527 GB, free: 8.691 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005171/1.634, allocations: 155.2 kB / 0.9529 GB, free: 8.609 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/1.635, allocations: 434.5 kB / 0.9533 GB, free: 8.477 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.635, allocations: 3.281 kB / 0.9533 GB, free: 8.477 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.635, allocations: 0 / 0.9533 GB, free: 8.477 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.635, allocations: 3.984 kB / 0.9533 GB, free: 8.473 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.003159/1.638, allocations: 1.531 MB / 0.9548 GB, free: 7.766 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.638, allocations: 0 / 0.9548 GB, free: 7.766 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/1.639, allocations: 55.67 kB / 0.9548 GB, free: 7.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/1.639, allocations: 7.375 kB / 0.9549 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/1.639, allocations: 10.92 kB / 0.9549 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/1.639, allocations: 2.469 kB / 0.9549 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.639, allocations: 3.5 kB / 0.9549 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000912/1.64, allocations: 0.5654 MB / 0.9554 GB, free: 7.418 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/1.64, allocations: 287.4 kB / 0.9557 GB, free: 7.211 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/1.641, allocations: 13.8 kB / 0.9557 GB, free: 7.203 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008651/1.641, allocations: 76.5 kB / 0.9558 GB, free: 7.18 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/1.641, allocations: 23.59 kB / 0.9558 GB, free: 7.172 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/1.642, allocations: 21.98 kB / 0.9558 GB, free: 7.164 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00185/1.643, allocations: 1.214 MB / 0.957 GB, free: 6.828 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/1.643, allocations: 3.938 kB / 0.957 GB, free: 6.824 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002168/1.646, allocations: 0.6611 MB / 0.9577 GB, free: 6.746 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 (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.0006268/1.646, allocations: 301.4 kB / 0.9579 GB, free: 6.598 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002239/1.648, allocations: 0.9465 MB / 0.9589 GB, free: 6.457 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.648, allocations: 0 / 0.9589 GB, free: 6.457 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003604/1.649, allocations: 140.5 kB / 0.959 GB, free: 6.434 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/1.653, allocations: 0.7994 MB / 0.9598 GB, free: 6.184 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/1.657, allocations: 2.882 MB / 0.9626 GB, free: 4.492 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007335/1.658, allocations: 1.286 MB / 0.9639 GB, free: 3.559 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001798/1.66, allocations: 349.5 kB / 0.9642 GB, free: 3.379 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/1.66, allocations: 106.7 kB / 0.9643 GB, free: 3.367 MB / 0.67 GB Notification: Performance of SimCode: time 1.032e-06/1.66, allocations: 0 / 0.9643 GB, free: 3.367 MB / 0.67 GB Notification: Performance of Templates: time 0.05468/1.714, allocations: 28.23 MB / 0.9919 GB, free: 10.61 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)