Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",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.001486/0.001486, allocations: 106.6 kB / 16.4 MB, free: 6.504 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.001787/0.001787, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7177/0.7177, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 66.27 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1513, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5945/0.7459, allocations: 189.7 MB / 0.8168 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007807/0.7537, allocations: 4.29 MB / 0.821 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.7556, allocations: 33.38 kB / 0.821 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.7574, allocations: 0.5012 MB / 0.8215 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004455/0.7619, allocations: 1.566 MB / 0.823 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003564/0.7655, allocations: 1.339 MB / 0.8243 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003091/0.7686, allocations: 2.272 MB / 0.8266 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.7703, allocations: 1.078 MB / 0.8276 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.7721, allocations: 0.9695 MB / 0.8286 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.7736, allocations: 0.8734 MB / 0.8294 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003789/0.774, allocations: 138 kB / 0.8295 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.7764, allocations: 1.242 MB / 0.8307 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004928/0.7769, allocations: 424.2 kB / 0.8312 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008584/0.7778, allocations: 0.6415 MB / 0.8318 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.7802, allocations: 1.973 MB / 0.8337 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7803, allocations: 4 kB / 0.8337 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7803, allocations: 0 / 0.8337 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.7803, allocations: 0 / 0.8337 GB, free: 1.273 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004013/0.7843, allocations: 1.719 MB / 0.8354 GB, free: 16 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.7843, allocations: 13.97 kB / 0.8354 GB, free: 12 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.7845, allocations: 87.98 kB / 0.8355 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007666/0.7853, allocations: 186.2 kB / 0.8357 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.7871, allocations: 1.073 MB / 0.8367 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.7871, allocations: 42.62 kB / 0.8368 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.7872, allocations: 60.28 kB / 0.8368 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.7884, allocations: 0.6217 MB / 0.8374 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.7884, allocations: 0 / 0.8374 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/0.7885, allocations: 16.91 kB / 0.8374 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.7885, allocations: 24.16 kB / 0.8375 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.7898, allocations: 0.6244 MB / 0.8381 GB, free: 14.34 MB / 0.6075 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.003876/0.7936, allocations: 2.649 MB / 0.8407 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.7948, allocations: 0.5439 MB / 0.8412 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/0.7954, allocations: 353.7 kB / 0.8415 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003754/0.7958, allocations: 288 kB / 0.8418 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.7958, allocations: 40.67 kB / 0.8418 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005735/0.7964, allocations: 136.4 kB / 0.842 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.7964, allocations: 7.938 kB / 0.842 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002288/0.7987, allocations: 1.028 MB / 0.843 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.7987, allocations: 56.06 kB / 0.843 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.8005, allocations: 1.269 MB / 0.8443 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/0.8006, allocations: 38.89 kB / 0.8443 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.801, allocations: 435.4 kB / 0.8447 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.8011, allocations: 146.5 kB / 0.8449 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.8013, allocations: 122.6 kB / 0.845 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.8014, allocations: 318.8 kB / 0.8453 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/0.802, allocations: 271.1 kB / 0.8455 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007833/0.8028, allocations: 492 kB / 0.846 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.804, allocations: 0.5875 MB / 0.8466 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.804, allocations: 0 / 0.8466 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001514/0.8055, allocations: 0.7378 MB / 0.8473 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.8056, allocations: 8 kB / 0.8473 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8056, allocations: 4 kB / 0.8473 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.8056, allocations: 3.938 kB / 0.8473 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/0.8063, allocations: 123.8 kB / 0.8474 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.8063, allocations: 0 / 0.8474 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.8074, allocations: 102.2 kB / 0.8475 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.8075, allocations: 23.97 kB / 0.8476 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007913/0.8082, allocations: 467.4 kB / 0.848 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007456/0.809, allocations: 486 kB / 0.8485 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001159/0.8102, allocations: 0.5876 MB / 0.849 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.8102, allocations: 0 / 0.849 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001489/0.8117, allocations: 0.7304 MB / 0.8498 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.8117, allocations: 4 kB / 0.8498 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.8117, allocations: 4 kB / 0.8498 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.8117, allocations: 4 kB / 0.8498 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.8123, allocations: 119.8 kB / 0.8499 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.8123, allocations: 4 kB / 0.8499 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.8136, allocations: 132.2 kB / 0.85 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.8136, allocations: 23.91 kB / 0.85 GB, free: 4.562 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (45): * Single equations (assignments): 45 * 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 prepare postOptimizeDAE: time 0.0001829/0.8138, allocations: 208.2 kB / 0.8502 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.814, allocations: 106.7 kB / 0.8503 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.8157, allocations: 0.8085 MB / 0.8511 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.8157, allocations: 7.938 kB / 0.8511 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8157, allocations: 0 / 0.8511 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.8157, allocations: 0 / 0.8511 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.8189, allocations: 1.959 MB / 0.853 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.8189, allocations: 4 kB / 0.853 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.8195, allocations: 107.9 kB / 0.8531 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.8195, allocations: 4 kB / 0.8532 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.8195, allocations: 16 kB / 0.8532 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.8195, allocations: 7.938 kB / 0.8532 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8196, allocations: 3.938 kB / 0.8532 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.8216, allocations: 1.23 MB / 0.8544 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/0.8221, allocations: 295.7 kB / 0.8547 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.8222, allocations: 16 kB / 0.8547 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009012/0.8231, allocations: 55.86 kB / 0.8547 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.8233, allocations: 51.89 kB / 0.8548 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.8233, allocations: 16 kB / 0.8548 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001333/0.8246, allocations: 0.9208 MB / 0.8557 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8247, allocations: 0 / 0.8557 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001048/0.8257, allocations: 411.4 kB / 0.8561 GB, free: 14.2 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * 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 (52): * Single equations (assignments): 52 * 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.002632/0.8283, allocations: 1.895 MB / 0.8579 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.8303, allocations: 0.9394 MB / 0.8589 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8304, allocations: 0 / 0.8589 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006157/0.831, allocations: 343.5 kB / 0.8592 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.8328, allocations: 426.4 kB / 0.8596 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.8453, allocations: 8.497 MB / 0.8679 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.8459, allocations: 1.045 MB / 0.8689 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009412/0.8468, allocations: 283.1 kB / 0.8692 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/0.8474, allocations: 395.2 kB / 0.8696 GB, free: 160 kB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.8474, allocations: 0 / 0.8696 GB, free: 160 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05687/0.9043, allocations: 30.75 MB / 0.8996 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.484/10.39, allocations: 10.69 kB / 0.8996 GB, free: 1.754 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)