Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan") translateModel(IBPSA.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001333/0.001333, allocations: 107 kB / 16.52 MB, free: 6.656 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.001373/0.001373, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.433/1.433, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.749/0.749, allocations: 115.3 MB / 406.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 63.91 kB / 493.6 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3813, allocations: 76.17 MB / 0.5564 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan): time 0.6629/1.044, allocations: 310.8 MB / 0.8599 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04231/1.087, allocations: 29.6 MB / 0.8888 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00441/1.091, allocations: 73.03 kB / 0.8889 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01183/1.103, allocations: 4.559 MB / 0.8933 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008958/1.112, allocations: 2.834 MB / 0.8961 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006969/1.119, allocations: 2.382 MB / 0.8984 GB, free: 6.605 MB / 0.6075 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01328/1.132, allocations: 8.983 MB / 0.9072 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003998/1.136, allocations: 1.75 MB / 0.9089 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005798/1.142, allocations: 2.047 MB / 0.9109 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003671/1.146, allocations: 1.506 MB / 0.9124 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007872/1.147, allocations: 116 kB / 0.9125 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008758/1.155, allocations: 3.889 MB / 0.9163 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0014/1.157, allocations: 0.7007 MB / 0.917 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003/1.16, allocations: 1.24 MB / 0.9182 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007125/1.167, allocations: 4.214 MB / 0.9223 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.167, allocations: 0 / 0.9223 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.864e-06/1.167, allocations: 0 / 0.9223 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000166/1.167, allocations: 0 / 0.9223 GB, free: 14.17 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.00838/1.176, allocations: 2.923 MB / 0.9252 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/1.176, allocations: 12.03 kB / 0.9252 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006931/1.183, allocations: 0.9297 MB / 0.9261 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/1.194, allocations: 5.633 MB / 0.9316 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004613/1.195, allocations: 154.5 kB / 0.9317 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005645/1.195, allocations: 136 kB / 0.9319 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004685/1.2, allocations: 1.598 MB / 0.9334 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/1.2, allocations: 7.938 kB / 0.9334 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/1.2, allocations: 56 kB / 0.9335 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.227e-05/1.201, allocations: 50.5 kB / 0.9335 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003895/1.204, allocations: 1.36 MB / 0.9349 GB, free: 1.117 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.01282/1.217, allocations: 7.497 MB / 0.9422 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/1.219, allocations: 0.649 MB / 0.9428 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/1.22, allocations: 276.7 kB / 0.9431 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003234/1.22, allocations: 190.2 kB / 0.9433 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/1.22, allocations: 46.38 kB / 0.9433 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009422/1.221, allocations: 98.66 kB / 0.9434 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 4.448e-06/1.221, allocations: 4 kB / 0.9434 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36): time 0.00317/1.224, allocations: 1.066 MB / 0.9444 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/1.224, allocations: 55.41 kB / 0.9445 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004866/1.229, allocations: 2.364 MB / 0.9468 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/1.229, allocations: 41.64 kB / 0.9468 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/1.23, allocations: 0.9495 MB / 0.9478 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/1.231, allocations: 146.1 kB / 0.9479 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005191/1.231, allocations: 254.3 kB / 0.9481 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.231, allocations: 353.9 kB / 0.9485 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/1.233, allocations: 0.5321 MB / 0.949 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/1.234, allocations: 0.809 MB / 0.9498 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/1.236, allocations: 1.148 MB / 0.9509 GB, free: 15.75 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/1.236, allocations: 4 kB / 0.9509 GB, free: 15.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003663/1.24, allocations: 1.66 MB / 0.9525 GB, free: 14.06 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/1.24, allocations: 12 kB / 0.9526 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/1.24, allocations: 8 kB / 0.9526 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/1.24, allocations: 36.84 kB / 0.9526 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.242, allocations: 239.6 kB / 0.9528 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/1.243, allocations: 1.401 MB / 0.9542 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/1.245, allocations: 220.1 kB / 0.9544 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/1.245, allocations: 39.98 kB / 0.9544 GB, free: 11.97 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002219/1.248, allocations: 1.03 MB / 0.9554 GB, free: 10.94 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001435/1.249, allocations: 0.7934 MB / 0.9562 GB, free: 10.03 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002073/1.251, allocations: 1.127 MB / 0.9573 GB, free: 8.801 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.02e-05/1.251, allocations: 4 kB / 0.9573 GB, free: 8.797 MB / 0.67 GB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.003526/1.255, allocations: 1.639 MB / 0.9589 GB, free: 7.133 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.255, allocations: 8 kB / 0.9589 GB, free: 7.125 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/1.255, allocations: 11.98 kB / 0.9589 GB, free: 7.113 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/1.255, allocations: 33.17 kB / 0.959 GB, free: 7.078 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.256, allocations: 231.7 kB / 0.9592 GB, free: 6.852 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/1.257, allocations: 1.412 MB / 0.9606 GB, free: 5.301 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/1.259, allocations: 184.2 kB / 0.9608 GB, free: 5.121 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/1.259, allocations: 43.92 kB / 0.9608 GB, free: 5.078 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003151/1.26, allocations: 233.6 kB / 0.961 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/1.26, allocations: 201.4 kB / 0.9612 GB, free: 4.645 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/1.262, allocations: 0.786 MB / 0.962 GB, free: 3.816 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.262, allocations: 4 kB / 0.962 GB, free: 3.812 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.262, allocations: 3.938 kB / 0.962 GB, free: 3.809 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.262, allocations: 7.984 kB / 0.962 GB, free: 3.801 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.005128/1.268, allocations: 2.195 MB / 0.9641 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.268, allocations: 0 / 0.9641 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006307/1.268, allocations: 95.84 kB / 0.9642 GB, free: 1.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/1.268, allocations: 28.84 kB / 0.9643 GB, free: 1.379 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/1.268, allocations: 8 kB / 0.9643 GB, free: 1.371 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/1.27, allocations: 1.393 MB / 0.9656 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/1.27, allocations: 4.125 kB / 0.9656 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/1.272, allocations: 0.9127 MB / 0.9665 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009062/1.272, allocations: 354.2 kB / 0.9669 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005131/1.273, allocations: 8 kB / 0.9669 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.274, allocations: 99.89 kB / 0.967 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/1.275, allocations: 27.91 kB / 0.967 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.115e-05/1.275, allocations: 27.98 kB / 0.967 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003511/1.278, allocations: 1.635 MB / 0.9686 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.7e-07/1.278, allocations: 0 / 0.9686 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003423/1.282, allocations: 0.9086 MB / 0.9695 GB, free: 11.79 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001167/1.283, allocations: 446.8 kB / 0.9699 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004345/1.287, allocations: 1.869 MB / 0.9717 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.287, allocations: 0 / 0.9717 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007702/1.288, allocations: 355.4 kB / 0.9721 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006053/1.294, allocations: 1.15 MB / 0.9732 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007706/1.302, allocations: 4.026 MB / 0.9771 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/1.304, allocations: 1.537 MB / 0.9786 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006198/1.304, allocations: 143.4 kB / 0.9788 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of SimCode: time 9.22e-07/1.304, allocations: 0 / 0.9788 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of Templates: time 0.0687/1.373, allocations: 47.03 MB / 1.025 GB, free: 3.324 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)