Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001134/0.001134, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.832/1.832, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002492/0.002492, allocations: 67.84 kB / 0.6722 GB, free: 6.625 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2388, allocations: 114.5 MB / 0.784 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004621/0.2435, allocations: 3.068 MB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3768/0.6204, allocations: 1.331 MB / 0.7883 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.6206, allocations: 6.406 kB / 0.7883 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009624/0.6216, allocations: 329.4 kB / 0.7886 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.622, allocations: 149 kB / 0.7888 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.6223, allocations: 131.8 kB / 0.7889 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.6226, allocations: 306.5 kB / 0.7892 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.623, allocations: 238.5 kB / 0.7894 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.6231, allocations: 121.6 kB / 0.7895 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.6234, allocations: 139.8 kB / 0.7897 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.6234, allocations: 18.38 kB / 0.7897 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.6237, allocations: 169.6 kB / 0.7899 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.6238, allocations: 74.94 kB / 0.7899 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.016e-05/0.6239, allocations: 113.2 kB / 0.79 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.6242, allocations: 336 kB / 0.7904 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6242, allocations: 4.938 kB / 0.7904 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6242, allocations: 1.969 kB / 0.7904 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.6242, allocations: 0 / 0.7904 GB, free: 46.51 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006839/0.6249, allocations: 0.5185 MB / 0.7909 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.625, allocations: 7.875 kB / 0.7909 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005504/0.6255, allocations: 78.95 kB / 0.7909 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.6258, allocations: 238.5 kB / 0.7912 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.6258, allocations: 11.72 kB / 0.7912 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.6258, allocations: 21.06 kB / 0.7912 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.6262, allocations: 304.2 kB / 0.7915 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.6262, allocations: 6.562 kB / 0.7915 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.6263, allocations: 5.875 kB / 0.7915 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.6263, allocations: 19.12 kB / 0.7915 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.6266, allocations: 194.7 kB / 0.7917 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.6278, allocations: 1.46 MB / 0.7931 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.628, allocations: 182.5 kB / 0.7933 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.6281, allocations: 33.61 kB / 0.7933 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.6281, allocations: 3.5 kB / 0.7933 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.6282, allocations: 33.25 kB / 0.7934 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 3.397e-06/0.6282, allocations: 1.5 kB / 0.7934 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004712/0.6286, allocations: 228.9 kB / 0.7936 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.6287, allocations: 57.81 kB / 0.7937 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.6289, allocations: 195 kB / 0.7938 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.6289, allocations: 25.7 kB / 0.7939 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.629, allocations: 165.2 kB / 0.794 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.629, allocations: 25.81 kB / 0.794 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.629, allocations: 36.34 kB / 0.7941 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.999e-05/0.6291, allocations: 327.5 kB / 0.7944 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.666e-05/0.6292, allocations: 42.69 kB / 0.7944 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/0.6293, allocations: 106.9 kB / 0.7945 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.6294, allocations: 143.6 kB / 0.7947 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6294, allocations: 0 / 0.7947 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002682/0.6297, allocations: 194.3 kB / 0.7949 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.6297, allocations: 7.719 kB / 0.7949 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.6297, allocations: 0 / 0.7949 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.6299, allocations: 29.45 kB / 0.7949 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.63, allocations: 30.61 kB / 0.7949 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007982/0.6308, allocations: 1.418 MB / 0.7963 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.631, allocations: 22.31 kB / 0.7963 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.631, allocations: 6.562 kB / 0.7963 GB, free: 42.02 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.6311, allocations: 144.5 kB / 0.7965 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.6312, allocations: 22.16 kB / 0.7965 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.6312, allocations: 17.64 kB / 0.7965 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6312, allocations: 0 / 0.7965 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6312, allocations: 1.844 kB / 0.7965 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.6312, allocations: 4.062 kB / 0.7965 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.6316, allocations: 450 kB / 0.7969 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.6316, allocations: 0 / 0.7969 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.6317, allocations: 7 kB / 0.797 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.816e-05/0.6318, allocations: 24.97 kB / 0.797 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.6318, allocations: 4.688 kB / 0.797 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006735/0.6325, allocations: 1.412 MB / 0.7984 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6325, allocations: 4.719 kB / 0.7984 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.6327, allocations: 214.8 kB / 0.7986 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.6327, allocations: 96.98 kB / 0.7987 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.6328, allocations: 7.438 kB / 0.7987 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.6329, allocations: 7.062 kB / 0.7987 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.6329, allocations: 5.375 kB / 0.7987 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.6329, allocations: 3.469 kB / 0.7987 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001056/0.633, allocations: 145.2 kB / 0.7988 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.633, allocations: 0 / 0.7988 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003365/0.6334, allocations: 53.44 kB / 0.7989 GB, free: 39.89 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001295/0.6335, allocations: 98.7 kB / 0.799 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000381/0.6339, allocations: 215 kB / 0.7992 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6339, allocations: 3.938 kB / 0.7992 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.634, allocations: 152.9 kB / 0.7993 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.6344, allocations: 40.89 kB / 0.7994 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/0.6351, allocations: 399 kB / 0.7997 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.6353, allocations: 0.7473 MB / 0.8005 GB, free: 38.63 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.6353, allocations: 18.25 kB / 0.8005 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.6353, allocations: 0 / 0.8005 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.00496/0.6403, allocations: 2.96 MB / 0.8034 GB, free: 38.48 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)