Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.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.FixedResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance") [/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.1803/0.1825, allocations: 80.84 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistance): time 0.02896/0.2115, allocations: 25.21 MB / 0.6952 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007411/0.219, allocations: 5.195 MB / 0.7003 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008997/0.2199, allocations: 23.81 kB / 0.7003 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.2212, allocations: 337.8 kB / 0.7007 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.2234, allocations: 0.6294 MB / 0.7013 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.2255, allocations: 0.6646 MB / 0.7019 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002419/0.2279, allocations: 1.518 MB / 0.7034 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009882/0.2289, allocations: 0.5062 MB / 0.7039 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.2309, allocations: 0.7937 MB / 0.7047 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007371/0.2317, allocations: 442 kB / 0.7051 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.495e-05/0.2318, allocations: 48 kB / 0.7051 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.2328, allocations: 499.2 kB / 0.7056 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.233, allocations: 135.5 kB / 0.7057 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.2334, allocations: 330.4 kB / 0.7061 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.2346, allocations: 0.8411 MB / 0.7069 GB, free: 12.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2346, allocations: 4 kB / 0.7069 GB, free: 12.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2346, allocations: 0 / 0.7069 GB, free: 12.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.2347, allocations: 0 / 0.7069 GB, free: 12.75 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001619/0.2363, allocations: 0.8921 MB / 0.7078 GB, free: 11.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.2363, allocations: 12.03 kB / 0.7078 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.2367, allocations: 80.19 kB / 0.7078 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009217/0.2376, allocations: 489.6 kB / 0.7083 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.2377, allocations: 62.83 kB / 0.7084 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/0.2378, allocations: 40 kB / 0.7084 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.2399, allocations: 0.6898 MB / 0.7091 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.2399, allocations: 7.938 kB / 0.7091 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.24, allocations: 16 kB / 0.7091 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.24, allocations: 12 kB / 0.7091 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.2418, allocations: 493.6 kB / 0.7096 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.2448, allocations: 2.817 MB / 0.7123 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.2464, allocations: 355.5 kB / 0.7127 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.2465, allocations: 66.59 kB / 0.7127 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.2466, allocations: 11.92 kB / 0.7128 GB, free: 6.301 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.2466, allocations: 38.56 kB / 0.7128 GB, free: 6.254 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/0.2466, allocations: 4 kB / 0.7128 GB, free: 6.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.003181/0.2498, allocations: 0.6373 MB / 0.7134 GB, free: 5.605 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.793e-05/0.2499, allocations: 158.2 kB / 0.7136 GB, free: 5.414 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.2505, allocations: 486.8 kB / 0.714 GB, free: 4.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.2505, allocations: 29.7 kB / 0.7141 GB, free: 4.895 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.2508, allocations: 299.7 kB / 0.7143 GB, free: 4.598 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.2508, allocations: 43.39 kB / 0.7144 GB, free: 4.555 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.251, allocations: 57.69 kB / 0.7144 GB, free: 4.492 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2511, allocations: 358.8 kB / 0.7148 GB, free: 4.133 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.2517, allocations: 140.6 kB / 0.7149 GB, free: 3.992 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000682/0.2524, allocations: 313.2 kB / 0.7152 GB, free: 3.609 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.2535, allocations: 363.6 kB / 0.7156 GB, free: 3.211 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2535, allocations: 0 / 0.7156 GB, free: 3.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001266/0.2548, allocations: 424.7 kB / 0.716 GB, free: 2.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2548, allocations: 4 kB / 0.716 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.2548, allocations: 4 kB / 0.716 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.2548, allocations: 11.88 kB / 0.716 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/0.2553, allocations: 79.92 kB / 0.7161 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.2553, allocations: 12.25 kB / 0.7161 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/0.2559, allocations: 95.5 kB / 0.7162 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.256, allocations: 12 kB / 0.7162 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002774/0.2563, allocations: 180.1 kB / 0.7163 GB, free: 2.395 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002898/0.2566, allocations: 226.4 kB / 0.7166 GB, free: 2.098 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003245/0.2569, allocations: 211.8 kB / 0.7168 GB, free: 1.848 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/0.2569, allocations: 7.938 kB / 0.7168 GB, free: 1.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004523/0.2574, allocations: 253.1 kB / 0.717 GB, free: 1.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.2574, allocations: 4 kB / 0.717 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2574, allocations: 4 kB / 0.717 GB, free: 1.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.289e-06/0.2574, allocations: 4 kB / 0.717 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.2576, allocations: 51.84 kB / 0.7171 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2576, allocations: 7.938 kB / 0.7171 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.258, allocations: 51.89 kB / 0.7171 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.2581, allocations: 12.06 kB / 0.7171 GB, free: 1.453 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 23 * 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.0001675/0.2582, allocations: 204.2 kB / 0.7173 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.2584, allocations: 43.44 kB / 0.7174 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.642e-05/0.2585, allocations: 47.84 kB / 0.7174 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2585, allocations: 0 / 0.7174 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.2585, allocations: 4 kB / 0.7174 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2585, allocations: 0 / 0.7174 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007951/0.2593, allocations: 0.6514 MB / 0.7181 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2593, allocations: 3.938 kB / 0.7181 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.2597, allocations: 55.94 kB / 0.7181 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2597, allocations: 4 kB / 0.7181 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.2597, allocations: 3.984 kB / 0.7181 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2597, allocations: 4 kB / 0.7181 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2597, allocations: 4.062 kB / 0.7181 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.2609, allocations: 440.3 kB / 0.7186 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.261, allocations: 120.5 kB / 0.7187 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.2611, allocations: 7.984 kB / 0.7187 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005133/0.2616, allocations: 55.94 kB / 0.7187 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.2617, allocations: 11.98 kB / 0.7187 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.2617, allocations: 7.984 kB / 0.7188 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003447/0.2621, allocations: 338.8 kB / 0.7191 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2621, allocations: 4 kB / 0.7191 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007322/0.2628, allocations: 243.4 kB / 0.7193 GB, free: 15.12 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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): 10 * 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.0003942/0.2632, allocations: 165.7 kB / 0.7195 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.2646, allocations: 392.1 kB / 0.7198 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2646, allocations: 0 / 0.7198 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000531/0.2652, allocations: 136.8 kB / 0.72 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.2662, allocations: 216.9 kB / 0.7202 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.2678, allocations: 0.8166 MB / 0.721 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.2682, allocations: 0.8425 MB / 0.7218 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003315/0.2686, allocations: 96.22 kB / 0.7219 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2687, allocations: 43.41 kB / 0.7219 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of SimCode: time 9.41e-07/0.2687, allocations: 0 / 0.7219 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of Templates: time 0.01867/0.2874, allocations: 9.453 MB / 0.7312 GB, free: 3.027 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe 2>&1)