Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1852/0.186, allocations: 82.21 MB / 0.5935 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries): time 0.5254/0.7115, allocations: 146.7 MB / 0.7367 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003082/0.7146, allocations: 1.491 MB / 0.7381 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/0.715, allocations: 8.062 kB / 0.7382 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007168/0.7158, allocations: 164.1 kB / 0.7383 GB, free: 15.92 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001139/0.7169, allocations: 349.3 kB / 0.7386 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.7184, allocations: 402.2 kB / 0.739 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004108/0.7225, allocations: 3.346 MB / 0.7423 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.7242, allocations: 0.8292 MB / 0.7431 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002982/0.7272, allocations: 1.006 MB / 0.7441 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.7287, allocations: 0.794 MB / 0.7449 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.7289, allocations: 48.34 kB / 0.7449 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.7302, allocations: 467.5 kB / 0.7454 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005387/0.7308, allocations: 376 kB / 0.7457 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004586/0.7313, allocations: 262.7 kB / 0.746 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.733, allocations: 1.241 MB / 0.7472 GB, free: 14.01 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.733, allocations: 4 kB / 0.7472 GB, free: 14.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.364e-06/0.733, allocations: 0 / 0.7472 GB, free: 14.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.7331, allocations: 0 / 0.7472 GB, free: 14.01 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002531/0.7356, allocations: 1.335 MB / 0.7485 GB, free: 13.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.7357, allocations: 13.14 kB / 0.7485 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007403/0.7364, allocations: 186.9 kB / 0.7487 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.7379, allocations: 0.8327 MB / 0.7495 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/0.738, allocations: 60.73 kB / 0.7495 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.7381, allocations: 71.84 kB / 0.7496 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004087/0.7422, allocations: 1.546 MB / 0.7511 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.7422, allocations: 0 / 0.7511 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.836e-05/0.7423, allocations: 24.44 kB / 0.7511 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.7423, allocations: 14.91 kB / 0.7512 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003564/0.7459, allocations: 1.43 MB / 0.7526 GB, free: 11.56 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 preOpt removeSimpleEquations (simulation): time 0.005252/0.7511, allocations: 3.659 MB / 0.7561 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/0.7546, allocations: 1.245 MB / 0.7573 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.7549, allocations: 240.8 kB / 0.7576 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.755, allocations: 11.7 kB / 0.7576 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.755, allocations: 36.72 kB / 0.7576 GB, free: 8.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 2.465e-06/0.755, allocations: 0 / 0.7576 GB, free: 8.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.0163/0.7713, allocations: 4.781 MB / 0.7623 GB, free: 6.203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.7714, allocations: 57.14 kB / 0.7623 GB, free: 6.137 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.7733, allocations: 1.173 MB / 0.7635 GB, free: 5.777 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000208/0.7735, allocations: 36.89 kB / 0.7635 GB, free: 5.746 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005303/0.7741, allocations: 0.5111 MB / 0.764 GB, free: 5.535 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.7743, allocations: 112.4 kB / 0.7641 GB, free: 5.457 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.7743, allocations: 3 kB / 0.7641 GB, free: 5.457 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7744, allocations: 325.3 kB / 0.7644 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.7756, allocations: 0.4935 MB / 0.7649 GB, free: 4.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.7773, allocations: 0.8819 MB / 0.7658 GB, free: 4.461 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.7784, allocations: 0.508 MB / 0.7663 GB, free: 4.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7784, allocations: 0 / 0.7663 GB, free: 4.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.011/0.7894, allocations: 3.331 MB / 0.7695 GB, free: 2.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.7896, allocations: 131.8 kB / 0.7697 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.7896, allocations: 2.469 kB / 0.7697 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/0.7919, allocations: 1.092 MB / 0.7707 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.7922, allocations: 46.39 kB / 0.7708 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/0.814, allocations: 9.531 MB / 0.7801 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.816, allocations: 334.1 kB / 0.7804 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.521e-05/0.8161, allocations: 15.55 kB / 0.7804 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.8161, allocations: 5.875 kB / 0.7804 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/0.8173, allocations: 0.5528 MB / 0.781 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.8174, allocations: 9.812 kB / 0.781 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/0.8179, allocations: 196.5 kB / 0.7812 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.8181, allocations: 47.34 kB / 0.7812 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/0.8218, allocations: 3.034 MB / 0.7842 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.8232, allocations: 196.6 kB / 0.7843 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.8233, allocations: 14.25 kB / 0.7844 GB, free: 9.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (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.0008605/0.8241, allocations: 477.4 kB / 0.7848 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.8244, allocations: 102.8 kB / 0.7849 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.8248, allocations: 118.5 kB / 0.785 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.8248, allocations: 4 kB / 0.785 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.8248, allocations: 0 / 0.785 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.8248, allocations: 3.984 kB / 0.785 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009817/0.8346, allocations: 3.672 MB / 0.7886 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.8347, allocations: 0 / 0.7886 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.8348, allocations: 31.61 kB / 0.7887 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/0.8371, allocations: 1.082 MB / 0.7897 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.8372, allocations: 14 kB / 0.7897 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/0.8558, allocations: 8.691 MB / 0.7982 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8558, allocations: 3.938 kB / 0.7982 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008672/0.8645, allocations: 2.849 MB / 0.801 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007344/0.8653, allocations: 260.3 kB / 0.8012 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003885/0.8657, allocations: 9 kB / 0.8013 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.867, allocations: 197 kB / 0.8014 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.8672, allocations: 35.08 kB / 0.8015 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.872e-05/0.8673, allocations: 23.92 kB / 0.8015 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001342/0.8687, allocations: 0.8378 MB / 0.8023 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8687, allocations: 0 / 0.8023 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002323/0.871, allocations: 0.597 MB / 0.8029 GB, free: 8.688 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (10): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0004314/0.8714, allocations: 142.5 kB / 0.803 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003724/0.8752, allocations: 1.692 MB / 0.8047 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.8752, allocations: 3.312 kB / 0.8047 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.8768, allocations: 0.7659 MB / 0.8054 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.8798, allocations: 0.569 MB / 0.806 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.884, allocations: 2.46 MB / 0.8084 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008842/0.8849, allocations: 1.219 MB / 0.8096 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001034/0.8859, allocations: 240.2 kB / 0.8098 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.8861, allocations: 63.42 kB / 0.8099 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.8861, allocations: 3.938 kB / 0.8099 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of Templates: time 0.05454/0.9406, allocations: 34.7 MB / 0.8438 GB, free: 15.7 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe 2>&1) Environment - environmentSimulation: