Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 387.1 MB / 399.7 MB, free: 9.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 180.8 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.3 MB / 0.7872 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008933, allocations: 91.94 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.487e-05, allocations: 5.641 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2731, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.286/5.56, allocations: 2.158 GB / 3.371 GB, free: 120.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/5.56, allocations: 82.2 kB / 3.371 GB, free: 120 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.677/8.237, allocations: 0.6001 GB / 3.971 GB, free: 292.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.344e-06/8.237, allocations: 0 / 3.971 GB, free: 292.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001618/8.237, allocations: 43.55 kB / 3.971 GB, free: 292.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003597/8.241, allocations: 1.344 MB / 3.972 GB, free: 292 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/8.241, allocations: 10.56 kB / 3.972 GB, free: 292 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002778/8.241, allocations: 116.4 kB / 3.972 GB, free: 291.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003187/8.244, allocations: 0.5754 MB / 3.973 GB, free: 291.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/8.247, allocations: 0.9152 MB / 3.974 GB, free: 291.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/8.247, allocations: 60.91 kB / 3.974 GB, free: 291.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/8.248, allocations: 73.25 kB / 3.974 GB, free: 291.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/8.249, allocations: 0.9073 MB / 3.975 GB, free: 291.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/8.249, allocations: 4.375 kB / 3.975 GB, free: 291.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-05/8.249, allocations: 33.83 kB / 3.975 GB, free: 291.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/8.249, allocations: 35.17 kB / 3.975 GB, free: 291.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/8.251, allocations: 0.6362 MB / 3.975 GB, free: 291.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005756/8.257, allocations: 4.955 MB / 3.98 GB, free: 288.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/8.258, allocations: 0.5775 MB / 3.981 GB, free: 288.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004441/8.258, allocations: 315.2 kB / 3.981 GB, free: 288.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/8.259, allocations: 1.596 MB / 3.983 GB, free: 286.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006597/8.26, allocations: 397.9 kB / 3.983 GB, free: 286.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 3.547e-06/8.26, allocations: 0 / 3.983 GB, free: 286.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.00164/8.262, allocations: 0.7165 MB / 3.984 GB, free: 286.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/8.262, allocations: 65.3 kB / 3.984 GB, free: 286.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/8.264, allocations: 0.9732 MB / 3.985 GB, free: 286.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.646e-05/8.264, allocations: 42.45 kB / 3.985 GB, free: 286 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/8.264, allocations: 0.5474 MB / 3.985 GB, free: 285.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/8.264, allocations: 209 kB / 3.986 GB, free: 285.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/8.264, allocations: 18 kB / 3.986 GB, free: 285.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/8.265, allocations: 335.3 kB / 3.986 GB, free: 285.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/8.265, allocations: 266.6 kB / 3.986 GB, free: 285.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/8.266, allocations: 0.5635 MB / 3.987 GB, free: 285.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/8.266, allocations: 311.6 kB / 3.987 GB, free: 285.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/8.266, allocations: 2.875 kB / 3.987 GB, free: 285.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0018/8.268, allocations: 0.9079 MB / 3.988 GB, free: 285 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/8.268, allocations: 13.19 kB / 3.988 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/8.268, allocations: 11.2 kB / 3.988 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.683e-05/8.268, allocations: 15.97 kB / 3.988 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/8.27, allocations: 271.6 kB / 3.988 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-05/8.27, allocations: 24.72 kB / 3.988 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/8.271, allocations: 209.9 kB / 3.988 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/8.272, allocations: 53.62 kB / 3.988 GB, free: 285 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000286/8.272, allocations: 160.8 kB / 3.989 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003721/8.272, allocations: 118.1 kB / 3.989 GB, free: 284.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/8.275, allocations: 1.058 MB / 3.99 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/8.275, allocations: 8.031 kB / 3.99 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/8.275, allocations: 3.031 kB / 3.99 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/8.275, allocations: 11.03 kB / 3.99 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005421/8.28, allocations: 2.115 MB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/8.28, allocations: 1.938 kB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/8.282, allocations: 202.6 kB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.198e-05/8.282, allocations: 4.375 kB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/8.282, allocations: 28.47 kB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.021e-05/8.282, allocations: 3.375 kB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/8.282, allocations: 6.281 kB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/8.285, allocations: 1.558 MB / 3.994 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/8.287, allocations: 311.3 kB / 3.994 GB, free: 283.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004624/8.287, allocations: 17 kB / 3.994 GB, free: 283.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/8.288, allocations: 138.1 kB / 3.994 GB, free: 283.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/8.289, allocations: 51.03 kB / 3.994 GB, free: 283.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/8.289, allocations: 42.89 kB / 3.994 GB, free: 283.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00209/8.291, allocations: 0.7525 MB / 3.995 GB, free: 283.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.91e-07/8.291, allocations: 0 / 3.995 GB, free: 283.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002087/8.293, allocations: 390.1 kB / 3.995 GB, free: 283.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004486/8.297, allocations: 3.19 MB / 3.998 GB, free: 282.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001413/8.299, allocations: 0.7671 MB / 3.999 GB, free: 282.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/8.299, allocations: 0 / 3.999 GB, free: 282.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000619/8.299, allocations: 424.6 kB / 4 GB, free: 282.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/8.302, allocations: 414.7 kB / 4 GB, free: 282.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005161/8.307, allocations: 2.099 MB / 4.002 GB, free: 281.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006111/8.308, allocations: 1.143 MB / 4.003 GB, free: 281 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001158/8.309, allocations: 250.6 kB / 4.003 GB, free: 281 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006504/8.309, allocations: 468.8 kB / 4.004 GB, free: 281 MB / 1.151 GB Notification: Performance of SimCode: time 1.122e-06/8.309, allocations: 0 / 4.004 GB, free: 281 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05775/8.367, allocations: 32.68 MB / 4.036 GB, free: 280.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/8.367, allocations: 206.2 kB / 4.036 GB, free: 279.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.086/11.45, allocations: 0 / 4.036 GB, free: 279.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat does not exist to compare? outputFormat=mat