Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5922/0.5922, allocations: 94.76 MB / 102.2 MB, free: 14.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001227/0.001227, allocations: 187.4 kB / 125.6 MB, free: 7.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.812/1.812, allocations: 170.6 MB / 319.4 MB, free: 1.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001732/0.001732, allocations: 108.6 kB / 381.4 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.681e-05/1.682e-05, allocations: 0 / 449.1 MB, free: 44.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1529, allocations: 61.52 MB / 0.4986 GB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.271/1.424, allocations: 371.7 MB / 0.8616 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/1.425, allocations: 80.52 kB / 0.8617 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.54/2.965, allocations: 423.6 MB / 1.275 GB, free: 83.88 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.124e-06/2.965, allocations: 0 / 1.275 GB, free: 83.88 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000121/2.965, allocations: 39.91 kB / 1.275 GB, free: 83.84 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001711/2.967, allocations: 1.097 MB / 1.276 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/2.967, allocations: 19.95 kB / 1.276 GB, free: 82.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/2.967, allocations: 134.6 kB / 1.277 GB, free: 82.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01437/2.982, allocations: 7.064 MB / 1.284 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/2.982, allocations: 20 kB / 1.284 GB, free: 75.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/2.982, allocations: 32 kB / 1.284 GB, free: 75.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000666/2.983, allocations: 390.4 kB / 1.284 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/2.983, allocations: 0.5066 MB / 1.284 GB, free: 74.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/2.983, allocations: 0 / 1.284 GB, free: 74.42 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/2.983, allocations: 0 / 1.284 GB, free: 74.42 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/2.983, allocations: 12 kB / 1.284 GB, free: 74.41 MB / 0.5261 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.003123/2.987, allocations: 2.563 MB / 1.287 GB, free: 71.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/2.987, allocations: 320.7 kB / 1.287 GB, free: 71.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/2.987, allocations: 165.3 kB / 1.287 GB, free: 71.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/2.987, allocations: 97.2 kB / 1.288 GB, free: 71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/2.987, allocations: 46.86 kB / 1.288 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 2.685e-06/2.987, allocations: 0 / 1.288 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.001413/2.989, allocations: 0.5097 MB / 1.288 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/2.989, allocations: 106.8 kB / 1.288 GB, free: 70.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000833/2.99, allocations: 0.7406 MB / 1.289 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/2.99, allocations: 25.7 kB / 1.289 GB, free: 69.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/2.99, allocations: 0.4884 MB / 1.289 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.35e-05/2.99, allocations: 94.62 kB / 1.289 GB, free: 68.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/2.99, allocations: 3.938 kB / 1.289 GB, free: 68.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001352/2.991, allocations: 322 kB / 1.29 GB, free: 68.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/2.991, allocations: 99.95 kB / 1.29 GB, free: 68.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/2.991, allocations: 318.1 kB / 1.29 GB, free: 68.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/2.992, allocations: 333.7 kB / 1.29 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/2.992, allocations: 0 / 1.29 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001446/2.993, allocations: 0.6805 MB / 1.291 GB, free: 67.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003341/2.994, allocations: 1.058 MB / 1.292 GB, free: 65.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/2.994, allocations: 0 / 1.292 GB, free: 65.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003707/2.994, allocations: 171.8 kB / 1.292 GB, free: 65.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/2.994, allocations: 39.92 kB / 1.292 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/2.996, allocations: 1.077 MB / 1.293 GB, free: 64.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/2.997, allocations: 71.75 kB / 1.294 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/2.997, allocations: 16 kB / 1.294 GB, free: 64.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/2.997, allocations: 4 kB / 1.294 GB, free: 64.54 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007368/2.997, allocations: 0.5085 MB / 1.294 GB, free: 64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/2.997, allocations: 7.984 kB / 1.294 GB, free: 64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/2.998, allocations: 148.7 kB / 1.294 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/2.998, allocations: 40.33 kB / 1.294 GB, free: 63.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/3, allocations: 2.637 MB / 1.297 GB, free: 61.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/3.001, allocations: 55.89 kB / 1.297 GB, free: 60.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/3.001, allocations: 16 kB / 1.297 GB, free: 60.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001449/3.001, allocations: 105 kB / 1.297 GB, free: 60.87 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/3.001, allocations: 94.88 kB / 1.297 GB, free: 60.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/3.002, allocations: 0.6431 MB / 1.298 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/3.002, allocations: 4 kB / 1.298 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/3.002, allocations: 7.938 kB / 1.298 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/3.002, allocations: 0 / 1.298 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/3.004, allocations: 1.448 MB / 1.299 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/3.004, allocations: 0 / 1.299 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/3.004, allocations: 55.98 kB / 1.299 GB, free: 58.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001518/3.004, allocations: 88.75 kB / 1.299 GB, free: 58.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/3.004, allocations: 3.984 kB / 1.299 GB, free: 58.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/3.006, allocations: 2.556 MB / 1.302 GB, free: 55.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/3.006, allocations: 0 / 1.302 GB, free: 55.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/3.007, allocations: 0.6344 MB / 1.302 GB, free: 54.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/3.007, allocations: 147.9 kB / 1.302 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/3.007, allocations: 8 kB / 1.303 GB, free: 54.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/3.007, allocations: 43.86 kB / 1.303 GB, free: 54.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/3.007, allocations: 19.97 kB / 1.303 GB, free: 54.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/3.007, allocations: 15.95 kB / 1.303 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005837/3.008, allocations: 0.5919 MB / 1.303 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/3.008, allocations: 0 / 1.303 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001295/3.009, allocations: 419.2 kB / 1.304 GB, free: 53.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007189/3.01, allocations: 290.7 kB / 1.304 GB, free: 53.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001019/3.011, allocations: 0.6627 MB / 1.304 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/3.011, allocations: 0 / 1.304 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005092/3.011, allocations: 313.4 kB / 1.305 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/3.013, allocations: 351.7 kB / 1.305 GB, free: 52.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/3.014, allocations: 1.205 MB / 1.306 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/3.015, allocations: 1.187 MB / 1.307 GB, free: 49.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001276/3.016, allocations: 0.5651 MB / 1.308 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/3.016, allocations: 39.44 kB / 1.308 GB, free: 49.03 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/3.016, allocations: 8 kB / 1.308 GB, free: 49.02 MB / 0.5261 GB Notification: Performance of Templates: time 0.02441/3.041, allocations: 15.95 MB / 1.324 GB, free: 33.15 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe 2>&1)