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.001101/0.001101, allocations: 103.4 kB / 16.35 MB, free: 5.879 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.001023/0.001023, allocations: 195 kB / 17.29 MB, free: 5.516 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.41/1.41, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.826/1.826, allocations: 292.3 MB / 0.5496 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.001437/0.001437, allocations: 71.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2433, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005439/0.2488, allocations: 3.187 MB / 0.7879 GB, free: 0 / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003194/0.6866, allocations: 1.363 MB / 0.7892 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.6868, allocations: 7.125 kB / 0.7892 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.688, allocations: 338.5 kB / 0.7895 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.6885, allocations: 147 kB / 0.7897 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.689, allocations: 147.4 kB / 0.7898 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000383/0.6894, allocations: 335.2 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004571/0.6899, allocations: 253.3 kB / 0.7904 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.6901, allocations: 134.5 kB / 0.7905 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.6904, allocations: 147.5 kB / 0.7907 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.6905, allocations: 19.03 kB / 0.7907 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.6908, allocations: 173.7 kB / 0.7908 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.6909, allocations: 87.56 kB / 0.7909 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.6911, allocations: 120.8 kB / 0.791 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.6915, allocations: 364.6 kB / 0.7914 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6915, allocations: 3.938 kB / 0.7914 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6915, allocations: 0 / 0.7914 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.6915, allocations: 0 / 0.7914 GB, free: 47.1 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.0008373/0.6924, allocations: 0.5319 MB / 0.7919 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.6924, allocations: 7.844 kB / 0.7919 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005701/0.693, allocations: 79.3 kB / 0.792 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.6933, allocations: 256.6 kB / 0.7922 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.6933, allocations: 13.59 kB / 0.7923 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.6934, allocations: 21.05 kB / 0.7923 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.6938, allocations: 316.2 kB / 0.7926 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.6938, allocations: 3.078 kB / 0.7926 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.6939, allocations: 13.53 kB / 0.7926 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.6939, allocations: 15.28 kB / 0.7926 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.6942, allocations: 214.9 kB / 0.7928 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.6955, allocations: 1.494 MB / 0.7943 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.6959, allocations: 202.3 kB / 0.7945 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.696, allocations: 43.73 kB / 0.7945 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.696, allocations: 6.547 kB / 0.7945 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.696, allocations: 34.41 kB / 0.7945 GB, free: 45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.696, allocations: 4.016 kB / 0.7945 GB, free: 45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005282/0.6966, allocations: 252.6 kB / 0.7948 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.6966, allocations: 56.53 kB / 0.7948 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.6968, allocations: 209.4 kB / 0.795 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.6968, allocations: 29.64 kB / 0.7951 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.6969, allocations: 175.7 kB / 0.7952 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.6969, allocations: 32.22 kB / 0.7953 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.697, allocations: 37.81 kB / 0.7953 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.6971, allocations: 332.9 kB / 0.7956 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.601e-05/0.6972, allocations: 43.7 kB / 0.7957 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.6973, allocations: 112.6 kB / 0.7958 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.6975, allocations: 168.3 kB / 0.7959 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6975, allocations: 0 / 0.7959 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003866/0.6979, allocations: 213.7 kB / 0.7961 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.6979, allocations: 3.656 kB / 0.7961 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.698, allocations: 7.469 kB / 0.7961 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/0.6982, allocations: 30.89 kB / 0.7962 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.6984, allocations: 36.36 kB / 0.7962 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.6994, allocations: 1.429 MB / 0.7976 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.6996, allocations: 18.03 kB / 0.7976 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.6996, allocations: 7 kB / 0.7976 GB, free: 42.6 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.0001732/0.6998, allocations: 161.3 kB / 0.7978 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.6998, allocations: 14.81 kB / 0.7978 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.6999, allocations: 17.27 kB / 0.7978 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6999, allocations: 3.375 kB / 0.7978 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6999, allocations: 0 / 0.7978 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.6999, allocations: 1.828 kB / 0.7978 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.7005, allocations: 491.5 kB / 0.7983 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.7005, allocations: 5.562 kB / 0.7983 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.7006, allocations: 13.69 kB / 0.7983 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.123e-05/0.7007, allocations: 22.45 kB / 0.7983 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.7007, allocations: 0 / 0.7983 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009913/0.7017, allocations: 1.426 MB / 0.7997 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7017, allocations: 2.734 kB / 0.7997 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.702, allocations: 251.8 kB / 0.8 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.7021, allocations: 98.86 kB / 0.8001 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.7021, allocations: 0 / 0.8001 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.7023, allocations: 8 kB / 0.8001 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.7024, allocations: 7.25 kB / 0.8001 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.7024, allocations: 3.438 kB / 0.8001 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001706/0.7025, allocations: 150.8 kB / 0.8002 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7026, allocations: 4 kB / 0.8002 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004339/0.703, allocations: 56.22 kB / 0.8003 GB, free: 40.45 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.0001993/0.7032, allocations: 99.12 kB / 0.8004 GB, free: 40.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005497/0.7038, allocations: 224.5 kB / 0.8006 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7038, allocations: 64 / 0.8006 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.704, allocations: 169.8 kB / 0.8007 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004987/0.7045, allocations: 37.64 kB / 0.8008 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007744/0.7053, allocations: 393.2 kB / 0.8012 GB, free: 39.92 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.7056, allocations: 0.7536 MB / 0.8019 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.887e-05/0.7057, allocations: 28.3 kB / 0.8019 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.7057, allocations: 14.78 kB / 0.8019 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of SimCode: time 4.5e-07/0.7057, allocations: 2.781 kB / 0.8019 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.005669/0.7114, allocations: 1.94 MB / 0.8038 GB, free: 39.12 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)