Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 101 kB / 16.27 MB, free: 6.414 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.001633/0.001633, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.446/1.446, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.82/1.82, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001351/0.001351, allocations: 67.89 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.302, allocations: 114.5 MB / 0.784 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00675/0.3088, allocations: 3.191 MB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5793/0.8882, allocations: 1.373 MB / 0.7885 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.8885, allocations: 8.031 kB / 0.7885 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.8897, allocations: 333.8 kB / 0.7888 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003872/0.8901, allocations: 146.6 kB / 0.7889 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.8905, allocations: 150.5 kB / 0.7891 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000344/0.8909, allocations: 330.7 kB / 0.7894 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004615/0.8913, allocations: 247.6 kB / 0.7896 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.8915, allocations: 137.1 kB / 0.7898 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.8918, allocations: 153.5 kB / 0.7899 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.8919, allocations: 21.28 kB / 0.7899 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.8922, allocations: 166.4 kB / 0.7901 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.445e-05/0.8923, allocations: 89.38 kB / 0.7902 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.8924, allocations: 120.1 kB / 0.7903 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.8928, allocations: 349.9 kB / 0.7906 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.8928, allocations: 0.5312 kB / 0.7906 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8928, allocations: 0.75 kB / 0.7906 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.8928, allocations: 1.625 kB / 0.7906 GB, free: 45.93 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009579/0.8938, allocations: 0.5414 MB / 0.7912 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.8938, allocations: 12.22 kB / 0.7912 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006777/0.8945, allocations: 83.11 kB / 0.7913 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.8948, allocations: 253.9 kB / 0.7915 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.8948, allocations: 12.56 kB / 0.7915 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.8949, allocations: 19.69 kB / 0.7915 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.8954, allocations: 312.1 kB / 0.7918 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.8954, allocations: 12.53 kB / 0.7918 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.8954, allocations: 3.625 kB / 0.7918 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.8955, allocations: 19.05 kB / 0.7919 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.8958, allocations: 211.8 kB / 0.7921 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.8971, allocations: 1.504 MB / 0.7935 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.8976, allocations: 203.3 kB / 0.7937 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.8976, allocations: 45.17 kB / 0.7938 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.8977, allocations: 0 / 0.7938 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.8977, allocations: 30.56 kB / 0.7938 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.8977, allocations: 0 / 0.7938 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005453/0.8983, allocations: 267.2 kB / 0.794 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.8983, allocations: 55.09 kB / 0.7941 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.8985, allocations: 205.5 kB / 0.7943 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.8985, allocations: 32.52 kB / 0.7943 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.8986, allocations: 169.1 kB / 0.7945 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.8987, allocations: 34.19 kB / 0.7945 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.8987, allocations: 36.7 kB / 0.7946 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.8988, allocations: 332.3 kB / 0.7949 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.483e-05/0.8989, allocations: 41.12 kB / 0.7949 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.899, allocations: 113.6 kB / 0.795 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.8992, allocations: 176.2 kB / 0.7952 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8992, allocations: 0 / 0.7952 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003203/0.8996, allocations: 211.1 kB / 0.7954 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.8996, allocations: 8.297 kB / 0.7954 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.8996, allocations: 2.625 kB / 0.7954 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.8998, allocations: 26.42 kB / 0.7954 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.8999, allocations: 40.41 kB / 0.7955 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008335/0.9008, allocations: 1.43 MB / 0.7969 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.9009, allocations: 16.09 kB / 0.7969 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.9009, allocations: 8.25 kB / 0.7969 GB, free: 41.43 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 (18): * Single equations (assignments): 17 * 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.0001262/0.9011, allocations: 153.6 kB / 0.797 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.9011, allocations: 17.11 kB / 0.797 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.9012, allocations: 20.31 kB / 0.7971 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.9012, allocations: 8.469 kB / 0.7971 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9012, allocations: 0 / 0.7971 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9012, allocations: 0 / 0.7971 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.9017, allocations: 486 kB / 0.7975 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9018, allocations: 0 / 0.7975 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.9018, allocations: 13.22 kB / 0.7975 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.442e-05/0.9019, allocations: 29.34 kB / 0.7976 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.9019, allocations: 0 / 0.7976 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007503/0.9027, allocations: 1.423 MB / 0.799 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.9027, allocations: 3.281 kB / 0.799 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.9029, allocations: 241.8 kB / 0.7992 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.903, allocations: 104.3 kB / 0.7993 GB, free: 39.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.903, allocations: 0 / 0.7993 GB, free: 39.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.9032, allocations: 6.625 kB / 0.7993 GB, free: 39.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.9032, allocations: 9.906 kB / 0.7993 GB, free: 39.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.9032, allocations: 5.234 kB / 0.7993 GB, free: 39.37 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001289/0.9034, allocations: 149.6 kB / 0.7995 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9034, allocations: 3.188 kB / 0.7995 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003357/0.9037, allocations: 55.12 kB / 0.7995 GB, free: 39.29 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 (7): * Single equations (assignments): 6 * 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.000129/0.9038, allocations: 108.5 kB / 0.7996 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.9042, allocations: 227.2 kB / 0.7998 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9043, allocations: 3.406 kB / 0.7998 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.9044, allocations: 164.2 kB / 0.8 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.9048, allocations: 49.81 kB / 0.8 GB, free: 38.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.9054, allocations: 425.7 kB / 0.8005 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.9056, allocations: 0.7578 MB / 0.8012 GB, free: 38.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.9057, allocations: 17.94 kB / 0.8012 GB, free: 38 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.9057, allocations: 0 / 0.8012 GB, free: 38 MB / 0.6544 GB Notification: Performance of Templates: time 0.007012/0.9127, allocations: 3.219 MB / 0.8044 GB, free: 37.84 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)