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.0009027/0.0009026, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.000999/0.000999, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.726/1.726, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005349/0.000535, allocations: 21.31 kB / 0.6735 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2508, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003314/0.2541, allocations: 2.709 MB / 0.7898 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.2559, allocations: 1.252 MB / 0.791 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.256, allocations: 4 kB / 0.791 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.2561, allocations: 39.75 kB / 0.791 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.2565, allocations: 111.7 kB / 0.7911 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.2568, allocations: 115.7 kB / 0.7912 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.257, allocations: 183.6 kB / 0.7914 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.2573, allocations: 223.3 kB / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.2575, allocations: 95.62 kB / 0.7917 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.2577, allocations: 103.6 kB / 0.7918 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.2577, allocations: 12 kB / 0.7918 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.2579, allocations: 75.89 kB / 0.7919 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.258, allocations: 63.86 kB / 0.792 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.258, allocations: 69.58 kB / 0.792 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.2583, allocations: 255.6 kB / 0.7923 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.2583, allocations: 7.938 kB / 0.7923 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2583, allocations: 0 / 0.7923 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2583, allocations: 0 / 0.7923 GB, free: 6.641 MB / 0.6075 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.0007222/0.259, allocations: 0.5105 MB / 0.7928 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2591, allocations: 8.031 kB / 0.7928 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005616/0.2596, allocations: 99.5 kB / 0.7929 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.2599, allocations: 241.6 kB / 0.7931 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.26, allocations: 12.44 kB / 0.7931 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.26, allocations: 20 kB / 0.7931 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.2605, allocations: 312.3 kB / 0.7934 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2605, allocations: 0 / 0.7934 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.2605, allocations: 8 kB / 0.7935 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.2606, allocations: 16.42 kB / 0.7935 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.261, allocations: 217.5 kB / 0.7937 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.2625, allocations: 1.509 MB / 0.7952 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.2629, allocations: 199.7 kB / 0.7953 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.2629, allocations: 0 / 0.7953 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.2629, allocations: 30.56 kB / 0.7954 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.2629, allocations: 8 kB / 0.7954 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005155/0.2635, allocations: 271.4 kB / 0.7956 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.2635, allocations: 51.41 kB / 0.7957 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.2637, allocations: 211.6 kB / 0.7959 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.2637, allocations: 29.7 kB / 0.7959 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.071e-05/0.2638, allocations: 171.7 kB / 0.7961 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.2638, allocations: 31.55 kB / 0.7961 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.2638, allocations: 4 kB / 0.7961 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.264, allocations: 322.8 kB / 0.7964 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/0.2641, allocations: 47.97 kB / 0.7965 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.2642, allocations: 112.5 kB / 0.7966 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2643, allocations: 63.97 kB / 0.7966 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2643, allocations: 4 kB / 0.7966 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003505/0.2647, allocations: 222.1 kB / 0.7969 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2647, allocations: 4 kB / 0.7969 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.2647, allocations: 4 kB / 0.7969 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.2649, allocations: 32.77 kB / 0.7969 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.265, allocations: 31.98 kB / 0.7969 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009521/0.266, allocations: 1.327 MB / 0.7982 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.2661, allocations: 27.75 kB / 0.7982 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.2661, allocations: 8.391 kB / 0.7983 GB, free: 15.97 MB / 0.6231 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.2663, allocations: 164.6 kB / 0.7984 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.2663, allocations: 15.81 kB / 0.7984 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.2663, allocations: 17.41 kB / 0.7984 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2664, allocations: 0 / 0.7984 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2664, allocations: 4 kB / 0.7984 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2664, allocations: 3.984 kB / 0.7984 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.2669, allocations: 495.2 kB / 0.7989 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2669, allocations: 0 / 0.7989 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.267, allocations: 12 kB / 0.7989 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.465e-05/0.2671, allocations: 24.83 kB / 0.799 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2671, allocations: 0 / 0.799 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008333/0.268, allocations: 1.33 MB / 0.8003 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.268, allocations: 3.953 kB / 0.8003 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.2682, allocations: 240.4 kB / 0.8005 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.2683, allocations: 104.9 kB / 0.8006 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.2684, allocations: 4 kB / 0.8006 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.2685, allocations: 15.94 kB / 0.8006 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.2685, allocations: 4 kB / 0.8006 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.2685, allocations: 4 kB / 0.8006 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001123/0.2687, allocations: 148.2 kB / 0.8008 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2687, allocations: 0 / 0.8008 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003085/0.269, allocations: 59.75 kB / 0.8008 GB, free: 13.11 MB / 0.6231 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001037/0.2691, allocations: 99.25 kB / 0.8009 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004122/0.2695, allocations: 234.7 kB / 0.8011 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2695, allocations: 4 kB / 0.8011 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.2698, allocations: 162.6 kB / 0.8013 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.27, allocations: 40.58 kB / 0.8013 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005773/0.2706, allocations: 467.6 kB / 0.8018 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.2709, allocations: 0.7671 MB / 0.8025 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.721e-05/0.271, allocations: 25.53 kB / 0.8025 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.2711, allocations: 19.38 kB / 0.8026 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2711, allocations: 0 / 0.8026 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of Templates: time 0.004578/0.2757, allocations: 1.772 MB / 0.8043 GB, free: 9.48 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: