Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.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.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_linear",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.001007/0.001007, allocations: 99.05 kB / 16.02 MB, free: 80 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.0009841/0.0009842, allocations: 181.4 kB / 16.92 MB, free: 6.777 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7453/0.7453, allocations: 115.5 MB / 407.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003237, allocations: 8 kB / 496 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 77.53 MB / 0.56 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.3606/0.5356, allocations: 57.01 MB / 0.6157 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03188/0.5675, allocations: 19.86 MB / 0.6351 GB, free: 3.512 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004349/0.5719, allocations: 71.56 kB / 0.6352 GB, free: 3.484 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01805/0.59, allocations: 9.795 MB / 0.6447 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009204/0.5992, allocations: 2.659 MB / 0.6473 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006521/0.6057, allocations: 2.087 MB / 0.6494 GB, free: 11.11 MB / 478.1 MB [/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.001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.0226/0.6284, allocations: 16.25 MB / 0.6652 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002987/0.6314, allocations: 1.486 MB / 0.6667 GB, free: 9.516 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00412/0.6355, allocations: 1.699 MB / 0.6683 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002718/0.6382, allocations: 1.497 MB / 0.6698 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003554/0.6386, allocations: 80 kB / 0.6699 GB, free: 6.227 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005355/0.644, allocations: 2.222 MB / 0.6721 GB, free: 4 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.645, allocations: 0.759 MB / 0.6728 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.6469, allocations: 1.299 MB / 0.6741 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007053/0.654, allocations: 4.512 MB / 0.6785 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.654, allocations: 4 kB / 0.6785 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.654, allocations: 4 kB / 0.6785 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.2e-05/0.6541, allocations: 4 kB / 0.6785 GB, free: 13.39 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.004864/0.6589, allocations: 2.811 MB / 0.6812 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.659, allocations: 11.97 kB / 0.6812 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002186/0.6592, allocations: 160.6 kB / 0.6814 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005395/0.6646, allocations: 1.007 MB / 0.6824 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/0.6805, allocations: 8.811 MB / 0.691 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.6807, allocations: 90.09 kB / 0.6911 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/0.681, allocations: 120 kB / 0.6912 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/0.6842, allocations: 1.528 MB / 0.6927 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.6843, allocations: 0 / 0.6927 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.6844, allocations: 47.94 kB / 0.6927 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.6844, allocations: 32 kB / 0.6928 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003446/0.6879, allocations: 1.37 MB / 0.6941 GB, free: 13.16 MB / 0.5137 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.01027/0.6982, allocations: 7.052 MB / 0.701 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/0.7015, allocations: 1.142 MB / 0.7021 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.7028, allocations: 0.5294 MB / 0.7026 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004303/0.7071, allocations: 3.043 MB / 0.7056 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.7072, allocations: 39.12 kB / 0.7056 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005991/0.7078, allocations: 102.9 kB / 0.7057 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.685e-06/0.7078, allocations: 0 / 0.7057 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.005245/0.713, allocations: 1.825 MB / 0.7075 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.7131, allocations: 63.97 kB / 0.7076 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/0.7172, allocations: 2.65 MB / 0.7101 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.7174, allocations: 41.7 kB / 0.7102 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009421/0.7184, allocations: 1.076 MB / 0.7112 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.7186, allocations: 220.9 kB / 0.7114 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.7189, allocations: 201.6 kB / 0.7116 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.719, allocations: 301.1 kB / 0.7119 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.7212, allocations: 1.163 MB / 0.7131 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.7236, allocations: 1.59 MB / 0.7146 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004161/0.7278, allocations: 2.512 MB / 0.7171 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.7278, allocations: 0 / 0.7171 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005684/0.7335, allocations: 3.104 MB / 0.7201 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002285/0.7338, allocations: 345 kB / 0.7204 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.7338, allocations: 8 kB / 0.7204 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/0.7342, allocations: 104.8 kB / 0.7205 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.7357, allocations: 359.5 kB / 0.7209 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005163/0.7362, allocations: 0.6186 MB / 0.7215 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/0.7382, allocations: 160 kB / 0.7216 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.7384, allocations: 99.95 kB / 0.7217 GB, free: 15.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.7384, allocations: 4 kB / 0.7217 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004605/0.743, allocations: 2.476 MB / 0.7242 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.743, allocations: 8.375 kB / 0.7242 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005181/0.7436, allocations: 128.8 kB / 0.7243 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.7449, allocations: 347.5 kB / 0.7246 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00414/0.749, allocations: 2.634 MB / 0.7272 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.7509, allocations: 157.3 kB / 0.7273 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.7511, allocations: 87.91 kB / 0.7274 GB, free: 9.547 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (166): * Single equations (assignments): 161 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001306/0.7524, allocations: 0.7114 MB / 0.7281 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/0.7528, allocations: 240.8 kB / 0.7283 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/0.7569, allocations: 1.64 MB / 0.7299 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.757, allocations: 12 kB / 0.73 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.757, allocations: 0 / 0.73 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.757, allocations: 7.984 kB / 0.73 GB, free: 6.926 MB / 0.545 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.006117/0.7631, allocations: 3.202 MB / 0.7331 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.7631, allocations: 4 kB / 0.7331 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009138/0.764, allocations: 180 kB / 0.7333 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002516/0.7643, allocations: 60.83 kB / 0.7333 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.529e-05/0.7644, allocations: 35.97 kB / 0.7334 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004796/0.7649, allocations: 0.6069 MB / 0.734 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.7649, allocations: 3.938 kB / 0.734 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003614/0.7685, allocations: 1.569 MB / 0.7355 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008756/0.7694, allocations: 437.6 kB / 0.7359 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.7696, allocations: 16 kB / 0.7359 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.7709, allocations: 123.7 kB / 0.736 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.771, allocations: 64.36 kB / 0.7361 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-05/0.7711, allocations: 43.97 kB / 0.7361 GB, free: 416 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002734/0.7739, allocations: 1.758 MB / 0.7379 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7739, allocations: 0 / 0.7379 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003772/0.7777, allocations: 1.248 MB / 0.7391 GB, free: 13.39 MB / 0.5606 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 (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005429/0.7831, allocations: 2.766 MB / 0.7418 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006961/0.7901, allocations: 3.534 MB / 0.7452 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.7901, allocations: 1.5 kB / 0.7452 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.7917, allocations: 0.597 MB / 0.7458 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006079/0.7978, allocations: 1.14 MB / 0.7469 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0474/0.8452, allocations: 22.44 MB / 0.7688 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.8466, allocations: 1.733 MB / 0.7705 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003154/0.8498, allocations: 0.7294 MB / 0.7712 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/0.8512, allocations: 1.023 MB / 0.7722 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of SimCode: time 2.475e-06/0.8512, allocations: 4 kB / 0.7723 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3957/1.247, allocations: 69.84 MB / 0.8405 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/1.247, allocations: 277.5 kB / 0.8407 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.703/4.95, allocations: 0 / 0.8407 GB, free: 216.5 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)