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.001273/0.001273, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 200.2 kB / 16.64 MB, free: 6.453 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.526/1.526, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.834/1.834, allocations: 292.3 MB / 0.549 GB, free: 12.8 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.002043/0.002043, allocations: 67.7 kB / 0.6723 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3135, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005849/0.3194, allocations: 3.194 MB / 0.7872 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002817/0.3223, allocations: 1.372 MB / 0.7886 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.3226, allocations: 8 kB / 0.7886 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.3239, allocations: 330.7 kB / 0.7889 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005534/0.3245, allocations: 143.2 kB / 0.789 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.3251, allocations: 154.9 kB / 0.7892 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000552/0.3256, allocations: 326.9 kB / 0.7895 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005485/0.3262, allocations: 251.7 kB / 0.7897 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.3265, allocations: 139.5 kB / 0.7899 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004189/0.3269, allocations: 151.4 kB / 0.79 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.84e-05/0.327, allocations: 20 kB / 0.79 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.3274, allocations: 171.6 kB / 0.7902 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.3275, allocations: 83.78 kB / 0.7903 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.3277, allocations: 123.4 kB / 0.7904 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.3282, allocations: 354.8 kB / 0.7907 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3282, allocations: 0 / 0.7907 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3283, allocations: 0 / 0.7907 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.3283, allocations: 4 kB / 0.7907 GB, free: 5.941 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.001018/0.3293, allocations: 0.5458 MB / 0.7913 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3294, allocations: 8.031 kB / 0.7913 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006148/0.33, allocations: 80.48 kB / 0.7914 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.3304, allocations: 251.5 kB / 0.7916 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.3304, allocations: 20.8 kB / 0.7916 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.3305, allocations: 24.36 kB / 0.7916 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.331, allocations: 308.6 kB / 0.7919 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3311, allocations: 4 kB / 0.7919 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.3311, allocations: 12 kB / 0.792 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.3312, allocations: 16.42 kB / 0.792 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.3316, allocations: 217.5 kB / 0.7922 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.3333, allocations: 1.49 MB / 0.7936 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.3338, allocations: 211.7 kB / 0.7938 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.3339, allocations: 40.84 kB / 0.7939 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3339, allocations: 0 / 0.7939 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.334, allocations: 34.56 kB / 0.7939 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 2.655e-06/0.334, allocations: 0 / 0.7939 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0006538/0.3346, allocations: 267.5 kB / 0.7942 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.3347, allocations: 55.39 kB / 0.7942 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.3349, allocations: 203.7 kB / 0.7944 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.335, allocations: 29.7 kB / 0.7944 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.3351, allocations: 171.7 kB / 0.7946 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.3352, allocations: 27.56 kB / 0.7946 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.229e-05/0.3352, allocations: 41.7 kB / 0.7947 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3354, allocations: 326.8 kB / 0.795 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3355, allocations: 47.97 kB / 0.795 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.3356, allocations: 116.5 kB / 0.7951 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.3359, allocations: 172.4 kB / 0.7953 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3359, allocations: 0 / 0.7953 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004077/0.3363, allocations: 210.3 kB / 0.7955 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.3363, allocations: 11.98 kB / 0.7955 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3364, allocations: 3.938 kB / 0.7955 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/0.3366, allocations: 28.84 kB / 0.7955 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.3367, allocations: 35.86 kB / 0.7956 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.3381, allocations: 1.429 MB / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.3383, allocations: 19.91 kB / 0.797 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.3383, allocations: 12 kB / 0.797 GB, free: 14.94 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 (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.0001595/0.3385, allocations: 153.9 kB / 0.7972 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.3385, allocations: 15.81 kB / 0.7972 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.3385, allocations: 21.39 kB / 0.7972 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3386, allocations: 0 / 0.7972 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3386, allocations: 0 / 0.7972 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3386, allocations: 0 / 0.7972 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.3392, allocations: 499.1 kB / 0.7977 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3392, allocations: 0 / 0.7977 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.3393, allocations: 8 kB / 0.7977 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.892e-05/0.3394, allocations: 24.84 kB / 0.7977 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.3394, allocations: 0 / 0.7977 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.3405, allocations: 1.425 MB / 0.7991 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3405, allocations: 0 / 0.7991 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.3408, allocations: 240.2 kB / 0.7993 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.3409, allocations: 100.9 kB / 0.7994 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3409, allocations: 0 / 0.7994 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.341, allocations: 7.984 kB / 0.7994 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.3411, allocations: 8 kB / 0.7994 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.3411, allocations: 4 kB / 0.7994 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001344/0.3413, allocations: 149.5 kB / 0.7996 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3413, allocations: 0 / 0.7996 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003795/0.3416, allocations: 59.78 kB / 0.7996 GB, free: 12 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 (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.0001479/0.3418, allocations: 99.23 kB / 0.7997 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004803/0.3423, allocations: 242.9 kB / 0.8 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3423, allocations: 4.062 kB / 0.8 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.3425, allocations: 158.6 kB / 0.8001 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.343, allocations: 45.88 kB / 0.8002 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009685/0.3439, allocations: 391.7 kB / 0.8005 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.3444, allocations: 0.7554 MB / 0.8013 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.3446, allocations: 30.09 kB / 0.8013 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.3446, allocations: 15.44 kB / 0.8013 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.3446, allocations: 0 / 0.8013 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of Templates: time 0.005845/0.3505, allocations: 1.937 MB / 0.8032 GB, free: 8.273 MB / 0.6231 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)