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.001328/0.001328, allocations: 101.7 kB / 16.27 MB, free: 5.855 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.001227/0.001227, allocations: 190.8 kB / 17.19 MB, free: 5.508 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.475/1.475, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8267/0.8267, allocations: 126.7 MB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 60.12 kB / 0.4957 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3859, allocations: 78.86 MB / 0.5728 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.004716/0.3907, allocations: 3.2 MB / 0.5759 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.3928, allocations: 1.354 MB / 0.5772 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.3929, allocations: 9.438 kB / 0.5772 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.394, allocations: 341.2 kB / 0.5775 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.3943, allocations: 151.1 kB / 0.5777 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.3947, allocations: 150.1 kB / 0.5778 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.3951, allocations: 333 kB / 0.5781 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004368/0.3955, allocations: 253 kB / 0.5784 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.3957, allocations: 144 kB / 0.5785 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.396, allocations: 149.4 kB / 0.5787 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.396, allocations: 19.38 kB / 0.5787 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.3963, allocations: 164 kB / 0.5788 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-05/0.3964, allocations: 85.84 kB / 0.5789 GB, free: 26.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.3965, allocations: 120.8 kB / 0.579 GB, free: 26.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.3969, allocations: 361.5 kB / 0.5794 GB, free: 26.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3969, allocations: 0 / 0.5794 GB, free: 26.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3969, allocations: 0.6875 kB / 0.5794 GB, free: 26.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.3969, allocations: 1.75 kB / 0.5794 GB, free: 26.47 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.0007313/0.3976, allocations: 0.5405 MB / 0.5799 GB, free: 25.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3977, allocations: 9.188 kB / 0.5799 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005633/0.3982, allocations: 82.77 kB / 0.58 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.3985, allocations: 251 kB / 0.5802 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3985, allocations: 12.62 kB / 0.5803 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.3986, allocations: 25.73 kB / 0.5803 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.399, allocations: 312.4 kB / 0.5806 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.399, allocations: 3.938 kB / 0.5806 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.399, allocations: 7.594 kB / 0.5806 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.3991, allocations: 21.27 kB / 0.5806 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.3994, allocations: 212.5 kB / 0.5808 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.4006, allocations: 1.497 MB / 0.5823 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.401, allocations: 200.1 kB / 0.5825 GB, free: 23.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.271e-05/0.4011, allocations: 55.02 kB / 0.5825 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.4011, allocations: 2.094 kB / 0.5825 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.4012, allocations: 36.78 kB / 0.5826 GB, free: 23.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.4012, allocations: 0 / 0.5826 GB, free: 23.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005188/0.4017, allocations: 258.9 kB / 0.5828 GB, free: 23.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.4017, allocations: 56.48 kB / 0.5829 GB, free: 23.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4019, allocations: 209.7 kB / 0.5831 GB, free: 23.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.4019, allocations: 29.64 kB / 0.5831 GB, free: 23.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.402, allocations: 178.7 kB / 0.5832 GB, free: 23.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.402, allocations: 31.17 kB / 0.5833 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.4021, allocations: 41.89 kB / 0.5833 GB, free: 22.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.4021, allocations: 330.5 kB / 0.5836 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.4022, allocations: 41.31 kB / 0.5837 GB, free: 22.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.4023, allocations: 109.9 kB / 0.5838 GB, free: 22.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.4025, allocations: 165.7 kB / 0.5839 GB, free: 22.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4026, allocations: 0 / 0.5839 GB, free: 22.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003295/0.4029, allocations: 217.8 kB / 0.5841 GB, free: 22.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4029, allocations: 11.56 kB / 0.5842 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4029, allocations: 1.781 kB / 0.5842 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.4031, allocations: 31.2 kB / 0.5842 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.4032, allocations: 35.27 kB / 0.5842 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008021/0.404, allocations: 1.421 MB / 0.5856 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.4042, allocations: 23.38 kB / 0.5856 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.4042, allocations: 6.656 kB / 0.5856 GB, free: 20.75 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.0001126/0.4043, allocations: 155.4 kB / 0.5858 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.4044, allocations: 17.34 kB / 0.5858 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.4044, allocations: 22.83 kB / 0.5858 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.4044, allocations: 0 / 0.5858 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.4044, allocations: 0.7812 kB / 0.5858 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4044, allocations: 2.719 kB / 0.5858 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.4049, allocations: 487.5 kB / 0.5863 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4049, allocations: 0 / 0.5863 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.405, allocations: 12.95 kB / 0.5863 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.557e-05/0.4051, allocations: 27.97 kB / 0.5863 GB, free: 20.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.4051, allocations: 1.281 kB / 0.5863 GB, free: 20.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000697/0.4058, allocations: 1.432 MB / 0.5877 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4058, allocations: 5.219 kB / 0.5877 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.4061, allocations: 240 kB / 0.588 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.4062, allocations: 96.03 kB / 0.5881 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.4062, allocations: 5.094 kB / 0.5881 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.4063, allocations: 6.5 kB / 0.5881 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.4064, allocations: 7.359 kB / 0.5881 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.4064, allocations: 3.094 kB / 0.5881 GB, free: 18.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.4065, allocations: 143.3 kB / 0.5882 GB, free: 18.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4065, allocations: 1.062 kB / 0.5882 GB, free: 18.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003478/0.4068, allocations: 63.44 kB / 0.5883 GB, free: 18.22 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 0.0001398/0.407, allocations: 106.2 kB / 0.5884 GB, free: 18.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005146/0.4075, allocations: 236.1 kB / 0.5886 GB, free: 17.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4075, allocations: 1.719 kB / 0.5886 GB, free: 17.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.4077, allocations: 161 kB / 0.5888 GB, free: 17.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.4081, allocations: 40.84 kB / 0.5888 GB, free: 17.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/0.4088, allocations: 395.6 kB / 0.5892 GB, free: 17.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.4091, allocations: 0.7547 MB / 0.5899 GB, free: 16.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.4092, allocations: 27.91 kB / 0.5899 GB, free: 16.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.4092, allocations: 19.27 kB / 0.59 GB, free: 16.77 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4092, allocations: 0 / 0.59 GB, free: 16.77 MB / 446.1 MB Notification: Performance of Templates: time 0.005152/0.4144, allocations: 1.919 MB / 0.5918 GB, free: 15.84 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)