Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00109/0.00109, allocations: 109.2 kB / 17.02 MB, free: 6.094 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.001088/0.001088, allocations: 192.1 kB / 17.97 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6946/0.6946, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 55.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3757, allocations: 76.15 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.004154/0.3799, allocations: 3.197 MB / 0.5607 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3818, allocations: 1.364 MB / 0.562 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.3819, allocations: 4.25 kB / 0.562 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009175/0.3829, allocations: 343.2 kB / 0.5623 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.3832, allocations: 145.1 kB / 0.5625 GB, free: 33.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.3835, allocations: 150.2 kB / 0.5626 GB, free: 33.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.3839, allocations: 331.2 kB / 0.5629 GB, free: 33.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.3843, allocations: 261 kB / 0.5632 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.3845, allocations: 143.9 kB / 0.5633 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.3847, allocations: 146.3 kB / 0.5635 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.3848, allocations: 20.09 kB / 0.5635 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.3851, allocations: 167.6 kB / 0.5636 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.803e-05/0.3851, allocations: 80.58 kB / 0.5637 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.3853, allocations: 120.7 kB / 0.5638 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.3857, allocations: 360.5 kB / 0.5642 GB, free: 32.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3857, allocations: 1.844 kB / 0.5642 GB, free: 32.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3857, allocations: 0.5625 kB / 0.5642 GB, free: 32.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3857, allocations: 0.625 kB / 0.5642 GB, free: 32.62 MB / 446.1 MB 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.0007494/0.3865, allocations: 0.5395 MB / 0.5647 GB, free: 32.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3865, allocations: 10.94 kB / 0.5647 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005595/0.3871, allocations: 80.84 kB / 0.5648 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.3874, allocations: 260.4 kB / 0.565 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3874, allocations: 14.03 kB / 0.5651 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.3875, allocations: 17.91 kB / 0.5651 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.3879, allocations: 322.2 kB / 0.5654 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.388, allocations: 0 / 0.5654 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.388, allocations: 6.688 kB / 0.5654 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.388, allocations: 20.22 kB / 0.5654 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.3884, allocations: 212.8 kB / 0.5656 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.3897, allocations: 1.49 MB / 0.5671 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.3901, allocations: 200.9 kB / 0.5673 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.626e-05/0.3902, allocations: 47.75 kB / 0.5673 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.3903, allocations: 2.578 kB / 0.5673 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3903, allocations: 36.42 kB / 0.5673 GB, free: 30.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3903, allocations: 4.938 kB / 0.5673 GB, free: 30.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005309/0.3908, allocations: 265.3 kB / 0.5676 GB, free: 29.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.3909, allocations: 53.22 kB / 0.5677 GB, free: 29.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.391, allocations: 215.8 kB / 0.5679 GB, free: 29.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3911, allocations: 28.17 kB / 0.5679 GB, free: 29.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.3912, allocations: 167.9 kB / 0.568 GB, free: 29.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3912, allocations: 31.58 kB / 0.5681 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.3912, allocations: 35.98 kB / 0.5681 GB, free: 29.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.642e-05/0.3913, allocations: 334 kB / 0.5684 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.3914, allocations: 46.75 kB / 0.5685 GB, free: 29.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.3915, allocations: 107.6 kB / 0.5686 GB, free: 29.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.3917, allocations: 169.2 kB / 0.5687 GB, free: 28.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3917, allocations: 1.094 kB / 0.5687 GB, free: 28.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003247/0.3921, allocations: 211.6 kB / 0.5689 GB, free: 28.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3921, allocations: 6.688 kB / 0.5689 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3921, allocations: 2.812 kB / 0.5689 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.3923, allocations: 28.81 kB / 0.569 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3924, allocations: 40.58 kB / 0.569 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008066/0.3932, allocations: 1.423 MB / 0.5704 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.3934, allocations: 16.7 kB / 0.5704 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.3934, allocations: 10.31 kB / 0.5704 GB, free: 27.36 MB / 446.1 MB 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.0001033/0.3935, allocations: 154.2 kB / 0.5706 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.3935, allocations: 20.78 kB / 0.5706 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.3936, allocations: 20.66 kB / 0.5706 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3936, allocations: 1.156 kB / 0.5706 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3936, allocations: 2.047 kB / 0.5706 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3936, allocations: 1.688 kB / 0.5706 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.3941, allocations: 487.1 kB / 0.5711 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3941, allocations: 4.031 kB / 0.5711 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.3942, allocations: 19.84 kB / 0.5711 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-05/0.3943, allocations: 21.64 kB / 0.5711 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3943, allocations: 6 kB / 0.5711 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007186/0.395, allocations: 1.427 MB / 0.5725 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3951, allocations: 0.5 kB / 0.5725 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.3953, allocations: 236 kB / 0.5728 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.3954, allocations: 103.3 kB / 0.5729 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3954, allocations: 5.812 kB / 0.5729 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3956, allocations: 7.156 kB / 0.5729 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.3956, allocations: 6.531 kB / 0.5729 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.3956, allocations: 2.75 kB / 0.5729 GB, free: 25.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.3957, allocations: 147.5 kB / 0.573 GB, free: 25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3957, allocations: 0.9688 kB / 0.573 GB, free: 25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.3961, allocations: 60 kB / 0.5731 GB, free: 24.98 MB / 446.1 MB 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 7.923e-05/0.3962, allocations: 99.22 kB / 0.5732 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.3965, allocations: 230.6 kB / 0.5734 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3965, allocations: 0 / 0.5734 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.3967, allocations: 164.2 kB / 0.5735 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3971, allocations: 51.16 kB / 0.5736 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.3977, allocations: 389.1 kB / 0.574 GB, free: 24.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.3979, allocations: 0.7569 MB / 0.5747 GB, free: 23.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.094e-05/0.3979, allocations: 25.42 kB / 0.5747 GB, free: 23.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.398, allocations: 16.06 kB / 0.5747 GB, free: 23.64 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.398, allocations: 0 / 0.5747 GB, free: 23.64 MB / 446.1 MB Notification: Performance of Templates: time 0.004824/0.4028, allocations: 1.929 MB / 0.5766 GB, free: 23.51 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)