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: "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IBPSA_latest_IBPSA_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.0007019/0.0007019, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007448/0.0007447, allocations: 176.8 kB / 16.91 MB, free: 6.699 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.188/1.188, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6073/0.6073, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002736, allocations: 9.562 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 77.53 MB / 0.56 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan): time 0.7596/0.8761, allocations: 306.6 MB / 0.8594 GB, free: 20.66 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02713/0.9033, allocations: 29.21 MB / 0.888 GB, free: 20.4 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.9058, allocations: 73.16 kB / 0.888 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007538/0.9133, allocations: 4.558 MB / 0.8925 GB, free: 20.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006108/0.9195, allocations: 2.843 MB / 0.8953 GB, free: 20.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004775/0.9243, allocations: 2.378 MB / 0.8976 GB, free: 20.08 MB / 0.6387 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080: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.008412/0.9327, allocations: 8.974 MB / 0.9064 GB, free: 20.04 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.9348, allocations: 1.642 MB / 0.908 GB, free: 19.77 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/0.938, allocations: 1.943 MB / 0.9099 GB, free: 19.73 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.9398, allocations: 1.376 MB / 0.9112 GB, free: 19.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.94, allocations: 70.19 kB / 0.9113 GB, free: 19.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004977/0.9449, allocations: 3.842 MB / 0.915 GB, free: 18.95 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004555/0.9454, allocations: 0.6229 MB / 0.9156 GB, free: 18.77 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008897/0.9463, allocations: 1.171 MB / 0.9168 GB, free: 18.69 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004089/0.9504, allocations: 5.322 MB / 0.922 GB, free: 16.21 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.9504, allocations: 0 / 0.922 GB, free: 16.21 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9504, allocations: 0 / 0.922 GB, free: 16.21 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.253e-05/0.9505, allocations: 3.344 kB / 0.922 GB, free: 16.21 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.002827/0.9533, allocations: 2.444 MB / 0.9244 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.9533, allocations: 14.03 kB / 0.9244 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.9535, allocations: 189.8 kB / 0.9246 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/0.9585, allocations: 0.997 MB / 0.9255 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006986/0.9655, allocations: 5.626 MB / 0.931 GB, free: 12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.9658, allocations: 169.9 kB / 0.9312 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.966, allocations: 136 kB / 0.9313 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.9685, allocations: 1.605 MB / 0.9329 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.9686, allocations: 0 / 0.9329 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.9687, allocations: 63.11 kB / 0.9329 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/0.9687, allocations: 47.77 kB / 0.933 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002716/0.9714, allocations: 1.379 MB / 0.9343 GB, free: 11.28 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.00687/0.9783, allocations: 7.53 MB / 0.9417 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.9796, allocations: 0.6555 MB / 0.9423 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005687/0.9802, allocations: 280.7 kB / 0.9426 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/0.9804, allocations: 188.6 kB / 0.9428 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.9804, allocations: 38.56 kB / 0.9428 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003811/0.9808, allocations: 102.6 kB / 0.9429 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 1.523e-06/0.9808, allocations: 4 kB / 0.9429 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36): time 0.002126/0.9829, allocations: 1.08 MB / 0.944 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.983, allocations: 55.41 kB / 0.944 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.9853, allocations: 2.364 MB / 0.9463 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.9854, allocations: 33.7 kB / 0.9464 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006708/0.986, allocations: 0.9698 MB / 0.9473 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.226e-05/0.9861, allocations: 136.9 kB / 0.9474 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.9863, allocations: 117.6 kB / 0.9475 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.9864, allocations: 353.9 kB / 0.9479 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.9875, allocations: 0.5327 MB / 0.9484 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.9888, allocations: 0.817 MB / 0.9492 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.9907, allocations: 1.155 MB / 0.9503 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.9907, allocations: 4 kB / 0.9503 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002891/0.9936, allocations: 1.68 MB / 0.952 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.9938, allocations: 313.6 kB / 0.9523 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.9938, allocations: 8 kB / 0.9523 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.994, allocations: 36.84 kB / 0.9523 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.995, allocations: 253 kB / 0.9526 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009089/0.9959, allocations: 1.413 MB / 0.9539 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.9975, allocations: 213 kB / 0.9541 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/0.9976, allocations: 43.97 kB / 0.9542 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/0.9976, allocations: 10.03 kB / 0.9542 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002534/1, allocations: 1.436 MB / 0.9556 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1, allocations: 12.31 kB / 0.9556 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.29e-05/1, allocations: 36.84 kB / 0.9556 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009779/1.001, allocations: 233.1 kB / 0.9559 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008133/1.002, allocations: 1.419 MB / 0.9573 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/1.003, allocations: 172.2 kB / 0.9574 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/1.003, allocations: 47.98 kB / 0.9575 GB, free: 4.805 MB / 0.6544 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.0006907/1.004, allocations: 0.6543 MB / 0.9581 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/1.004, allocations: 201.4 kB / 0.9583 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/1.006, allocations: 0.7873 MB / 0.9591 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/1.006, allocations: 4 kB / 0.9591 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/1.006, allocations: 0 / 0.9591 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.006, allocations: 7.938 kB / 0.9591 GB, free: 3.121 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.003058/1.009, allocations: 2.209 MB / 0.9612 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.009, allocations: 8.031 kB / 0.9612 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/1.01, allocations: 90.36 kB / 0.9613 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.04e-05/1.01, allocations: 31.47 kB / 0.9614 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/1.01, allocations: 11.94 kB / 0.9614 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008129/1.01, allocations: 1.412 MB / 0.9627 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.01, allocations: 0 / 0.9627 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/1.012, allocations: 0.9038 MB / 0.9636 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/1.012, allocations: 358.2 kB / 0.964 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/1.013, allocations: 12 kB / 0.964 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.014, allocations: 115.8 kB / 0.9641 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/1.014, allocations: 26.53 kB / 0.9641 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/1.014, allocations: 19.98 kB / 0.9641 GB, free: 13.67 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002124/1.016, allocations: 1.646 MB / 0.9657 GB, free: 12.01 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.016, allocations: 4 kB / 0.9657 GB, free: 12.01 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001985/1.018, allocations: 0.9008 MB / 0.9666 GB, free: 11.11 MB / 0.67 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.00243/1.02, allocations: 1.795 MB / 0.9684 GB, free: 9.262 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003388/1.024, allocations: 1.879 MB / 0.9702 GB, free: 7.414 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.024, allocations: 1.25 kB / 0.9702 GB, free: 7.414 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006466/1.024, allocations: 365.5 kB / 0.9706 GB, free: 7.055 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004936/1.029, allocations: 1.149 MB / 0.9717 GB, free: 5.938 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03489/1.064, allocations: 17.07 MB / 0.9884 GB, free: 3.785 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009976/1.065, allocations: 1.534 MB / 0.9899 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001974/1.067, allocations: 481.7 kB / 0.9903 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009233/1.068, allocations: 0.8078 MB / 0.9911 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of SimCode: time 1.653e-06/1.068, allocations: 3.938 kB / 0.9911 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8933/1.961, allocations: 56.51 MB / 1.046 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/1.962, allocations: 210.6 kB / 1.046 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.306/5.268, allocations: 0 / 1.046 GB, free: 8.84 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)