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.0009256/0.0009257, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00769/0.007691, allocations: 170.5 kB / 16.27 MB, free: 6.656 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.629/1.629, allocations: 205.4 MB / 222.5 MB, free: 5.789 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.701/1.701, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006055/0.0006058, allocations: 17.41 kB / 0.6743 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3082, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003936/0.3122, allocations: 2.879 MB / 0.7907 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.3145, allocations: 1.353 MB / 0.792 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.3146, allocations: 4 kB / 0.792 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.3148, allocations: 39.64 kB / 0.792 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.3153, allocations: 143.4 kB / 0.7922 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.3156, allocations: 139.7 kB / 0.7923 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004425/0.3161, allocations: 454.7 kB / 0.7927 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.3164, allocations: 244.9 kB / 0.793 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3166, allocations: 107.6 kB / 0.7931 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.3169, allocations: 135.5 kB / 0.7932 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.3169, allocations: 16 kB / 0.7932 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.3173, allocations: 211.5 kB / 0.7934 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.819e-05/0.3174, allocations: 75.73 kB / 0.7935 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.3175, allocations: 133.2 kB / 0.7936 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.3179, allocations: 355.1 kB / 0.794 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3179, allocations: 0 / 0.794 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3179, allocations: 0 / 0.794 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.3179, allocations: 0 / 0.794 GB, free: 5.277 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.0008029/0.3187, allocations: 0.5145 MB / 0.7945 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3188, allocations: 12.03 kB / 0.7945 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005749/0.3194, allocations: 80.58 kB / 0.7946 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.3197, allocations: 247.4 kB / 0.7948 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.3197, allocations: 16.81 kB / 0.7948 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.3198, allocations: 20.36 kB / 0.7948 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.3203, allocations: 316.7 kB / 0.7951 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3203, allocations: 3.938 kB / 0.7951 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.3203, allocations: 12 kB / 0.7951 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.3204, allocations: 12.44 kB / 0.7952 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.3207, allocations: 225.5 kB / 0.7954 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.3223, allocations: 1.498 MB / 0.7968 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.3228, allocations: 215.6 kB / 0.797 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.3229, allocations: 44.84 kB / 0.7971 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.3229, allocations: 0 / 0.7971 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.323, allocations: 34.55 kB / 0.7971 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.323, allocations: 3.938 kB / 0.7971 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.00061/0.3236, allocations: 263.4 kB / 0.7974 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.3237, allocations: 63.33 kB / 0.7974 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.3239, allocations: 207.7 kB / 0.7976 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3239, allocations: 25.7 kB / 0.7977 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.324, allocations: 175.6 kB / 0.7978 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.3241, allocations: 31.64 kB / 0.7979 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.3241, allocations: 17.72 kB / 0.7979 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3243, allocations: 330.8 kB / 0.7982 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.3244, allocations: 51.91 kB / 0.7982 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.3245, allocations: 120.5 kB / 0.7983 GB, free: 384 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.3247, allocations: 168.4 kB / 0.7985 GB, free: 184 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3248, allocations: 0 / 0.7985 GB, free: 184 kB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003713/0.3251, allocations: 222 kB / 0.7987 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3252, allocations: 4 kB / 0.7987 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3252, allocations: 4 kB / 0.7987 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/0.3254, allocations: 24.84 kB / 0.7988 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.3255, allocations: 40.2 kB / 0.7988 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.3265, allocations: 1.315 MB / 0.8001 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.3267, allocations: 31.73 kB / 0.8001 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.3267, allocations: 12 kB / 0.8001 GB, free: 14.39 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.0001391/0.3269, allocations: 145.8 kB / 0.8003 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.3269, allocations: 19.75 kB / 0.8003 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.3269, allocations: 21.39 kB / 0.8003 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.3269, allocations: 0 / 0.8003 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.3269, allocations: 96 / 0.8003 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.327, allocations: 7.938 kB / 0.8003 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005745/0.3275, allocations: 491.2 kB / 0.8008 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3276, allocations: 0 / 0.8008 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.3276, allocations: 16.05 kB / 0.8008 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.536e-05/0.3277, allocations: 28.84 kB / 0.8008 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3277, allocations: 0 / 0.8008 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008866/0.3286, allocations: 1.327 MB / 0.8021 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3286, allocations: 0 / 0.8021 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.3289, allocations: 240.1 kB / 0.8023 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/0.329, allocations: 104.8 kB / 0.8024 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.329, allocations: 4 kB / 0.8024 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3292, allocations: 12.08 kB / 0.8025 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.3292, allocations: 4 kB / 0.8025 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3292, allocations: 7.984 kB / 0.8025 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001215/0.3294, allocations: 145.5 kB / 0.8026 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3294, allocations: 4 kB / 0.8026 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003223/0.3297, allocations: 55.84 kB / 0.8027 GB, free: 11.55 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.0001658/0.3299, allocations: 102.2 kB / 0.8028 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004317/0.3303, allocations: 238.4 kB / 0.803 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3303, allocations: 0 / 0.803 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.3305, allocations: 171.2 kB / 0.8031 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.3309, allocations: 31.12 kB / 0.8032 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000669/0.3316, allocations: 0.4953 MB / 0.8037 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3319, allocations: 0.7554 MB / 0.8044 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.3321, allocations: 29.52 kB / 0.8044 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.3321, allocations: 15.44 kB / 0.8044 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.3321, allocations: 3.938 kB / 0.8044 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of Templates: time 0.004896/0.337, allocations: 1.827 MB / 0.8062 GB, free: 7.824 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: