Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009165/0.0009165, allocations: 81.41 kB / 20.82 MB, free: 3.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009106/0.0009106, allocations: 165 kB / 24.25 MB, free: 212 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.972/0.972, allocations: 177.1 MB / 204.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.902/1.902, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.7753 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.671e-05, allocations: 3.406 kB / 0.7753 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004467/0.004484, allocations: 2.75 MB / 0.778 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.006577, allocations: 1.087 MB / 0.7791 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.006726, allocations: 12.88 kB / 0.7791 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004826/0.007208, allocations: 95.39 kB / 0.7792 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.007542, allocations: 148.6 kB / 0.7793 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.007854, allocations: 136.3 kB / 0.7795 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.008256, allocations: 344.5 kB / 0.7798 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.008582, allocations: 202.7 kB / 0.78 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.008892, allocations: 199.5 kB / 0.7802 GB, free: 376 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.009148, allocations: 127.6 kB / 0.7803 GB, free: 248 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.009188, allocations: 20.5 kB / 0.7803 GB, free: 228 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.0094, allocations: 100.3 kB / 0.7804 GB, free: 128 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.009504, allocations: 95.28 kB / 0.7805 GB, free: 36 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.009614, allocations: 83.83 kB / 0.7806 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.009967, allocations: 251.1 kB / 0.7808 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.009969, allocations: 0 / 0.7808 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00997, allocations: 0 / 0.7808 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.009974, allocations: 0 / 0.7808 GB, free: 15.71 MB / 0.7448 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.0006547/0.01063, allocations: 452 kB / 0.7812 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.01067, allocations: 9.344 kB / 0.7813 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005877/0.01125, allocations: 116 kB / 0.7814 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.01152, allocations: 194.9 kB / 0.7816 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.01154, allocations: 12.88 kB / 0.7816 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.01158, allocations: 28.98 kB / 0.7816 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.01193, allocations: 298.3 kB / 0.7819 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.01195, allocations: 0.9688 kB / 0.7819 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.01197, allocations: 4.375 kB / 0.7819 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.012, allocations: 25.53 kB / 0.7819 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.01214, allocations: 64.86 kB / 0.782 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.01318, allocations: 0.9165 MB / 0.7829 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.01345, allocations: 86.34 kB / 0.7829 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.01348, allocations: 13.64 kB / 0.783 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.0135, allocations: 4 kB / 0.783 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.01353, allocations: 39.38 kB / 0.783 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.833e-06/0.01353, allocations: 0 / 0.783 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003203/0.01385, allocations: 107 kB / 0.7831 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.01387, allocations: 55.41 kB / 0.7832 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.01402, allocations: 195.8 kB / 0.7833 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.01403, allocations: 31.3 kB / 0.7834 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.01412, allocations: 176 kB / 0.7835 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.01414, allocations: 19.86 kB / 0.7836 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.0142, allocations: 45.64 kB / 0.7836 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.0143, allocations: 327.6 kB / 0.7839 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.01434, allocations: 15.98 kB / 0.7839 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.01441, allocations: 78.64 kB / 0.784 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.01454, allocations: 114.5 kB / 0.7841 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.01454, allocations: 3.938 kB / 0.7841 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00022/0.01476, allocations: 135.1 kB / 0.7842 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.01478, allocations: 4 kB / 0.7843 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.01479, allocations: 8.875 kB / 0.7843 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.01497, allocations: 37.69 kB / 0.7843 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.01509, allocations: 35.92 kB / 0.7843 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007781/0.01587, allocations: 1.195 MB / 0.7855 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.01597, allocations: 19.84 kB / 0.7855 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.01598, allocations: 9.469 kB / 0.7855 GB, free: 10.52 MB / 0.7448 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 9.29e-05/0.01608, allocations: 124.6 kB / 0.7856 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.01611, allocations: 9.531 kB / 0.7857 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.01614, allocations: 25.39 kB / 0.7857 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.01614, allocations: 0 / 0.7857 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01614, allocations: 3.938 kB / 0.7857 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01615, allocations: 1.562 kB / 0.7857 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.01651, allocations: 274.3 kB / 0.7859 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01651, allocations: 0 / 0.7859 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.01656, allocations: 11.98 kB / 0.786 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.01669, allocations: 37.78 kB / 0.786 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.0167, allocations: 4 kB / 0.786 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006716/0.01737, allocations: 1.205 MB / 0.7872 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01737, allocations: 0 / 0.7872 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.01748, allocations: 181.9 kB / 0.7873 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.62e-05/0.0175, allocations: 15.91 kB / 0.7874 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.01751, allocations: 2.938 kB / 0.7874 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-05/0.01757, allocations: 11.98 kB / 0.7874 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.0176, allocations: 7.984 kB / 0.7874 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.0176, allocations: 0 / 0.7874 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.01764, allocations: 56.55 kB / 0.7874 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01764, allocations: 0 / 0.7874 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001697/0.01781, allocations: 59.84 kB / 0.7875 GB, free: 8.34 MB / 0.7448 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 6.345e-05/0.01787, allocations: 82.02 kB / 0.7876 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.01805, allocations: 185.8 kB / 0.7877 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.01806, allocations: 4 kB / 0.7878 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.01813, allocations: 135.5 kB / 0.7879 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.0183, allocations: 36.73 kB / 0.7879 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.01886, allocations: 409 kB / 0.7883 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.65e-05/0.01891, allocations: 91.95 kB / 0.7884 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.027e-05/0.01896, allocations: 16.89 kB / 0.7884 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/0.01903, allocations: 75.36 kB / 0.7885 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.01903, allocations: 0.5625 kB / 0.7885 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of Templates: time 0.003382/0.02242, allocations: 1.989 MB / 0.7904 GB, free: 5.363 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.911575732752681]