Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001088/0.001088, allocations: 111.5 kB / 16.42 MB, free: 5.996 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.001132/0.001132, allocations: 187.2 kB / 17.35 MB, free: 5.609 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 293.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9645/0.9645, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 95.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4488, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.004864/0.4537, allocations: 3.195 MB / 0.7702 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002019/0.4558, allocations: 1.379 MB / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.4559, allocations: 4 kB / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.457, allocations: 338.7 kB / 0.7718 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.4573, allocations: 147.2 kB / 0.772 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.4577, allocations: 151.6 kB / 0.7721 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.458, allocations: 334.6 kB / 0.7724 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000443/0.4585, allocations: 247.7 kB / 0.7727 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.4587, allocations: 143.5 kB / 0.7728 GB, free: 14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.459, allocations: 151.4 kB / 0.773 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.459, allocations: 20 kB / 0.773 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.4593, allocations: 167.6 kB / 0.7731 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.4594, allocations: 83.8 kB / 0.7732 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.4596, allocations: 119.4 kB / 0.7733 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.46, allocations: 361.4 kB / 0.7737 GB, free: 13.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.46, allocations: 0 / 0.7737 GB, free: 13.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.92e-07/0.46, allocations: 0 / 0.7737 GB, free: 13.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.46, allocations: 0 / 0.7737 GB, free: 13.12 MB / 0.545 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.0008143/0.4608, allocations: 0.538 MB / 0.7742 GB, free: 12.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4609, allocations: 8.031 kB / 0.7742 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005955/0.4615, allocations: 84.48 kB / 0.7743 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.4618, allocations: 255.9 kB / 0.7745 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.4618, allocations: 16.75 kB / 0.7745 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.4619, allocations: 24.38 kB / 0.7746 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.4624, allocations: 312.6 kB / 0.7749 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4624, allocations: 3.938 kB / 0.7749 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.4625, allocations: 16 kB / 0.7749 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.4625, allocations: 16.38 kB / 0.7749 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.4628, allocations: 217.5 kB / 0.7751 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.4643, allocations: 1.486 MB / 0.7766 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.4648, allocations: 199.7 kB / 0.7768 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.273e-05/0.4649, allocations: 48.84 kB / 0.7768 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.4649, allocations: 7.922 kB / 0.7768 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.4649, allocations: 34.55 kB / 0.7768 GB, free: 9.562 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.4649, allocations: 0 / 0.7768 GB, free: 9.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.000622/0.4655, allocations: 255.5 kB / 0.7771 GB, free: 9.285 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.4656, allocations: 51.41 kB / 0.7771 GB, free: 9.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.4658, allocations: 207.7 kB / 0.7773 GB, free: 9.012 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.4658, allocations: 29.64 kB / 0.7774 GB, free: 8.977 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.4659, allocations: 175.7 kB / 0.7775 GB, free: 8.801 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.4659, allocations: 31.55 kB / 0.7776 GB, free: 8.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.466, allocations: 37.62 kB / 0.7776 GB, free: 8.727 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4661, allocations: 330.8 kB / 0.7779 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.4662, allocations: 43.97 kB / 0.778 GB, free: 8.352 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.4664, allocations: 108.5 kB / 0.7781 GB, free: 8.215 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.4666, allocations: 172.5 kB / 0.7782 GB, free: 8.016 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4667, allocations: 8 kB / 0.7782 GB, free: 8.008 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003891/0.467, allocations: 202.4 kB / 0.7784 GB, free: 7.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.4671, allocations: 12 kB / 0.7784 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4671, allocations: 0 / 0.7784 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.4673, allocations: 32.78 kB / 0.7785 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4674, allocations: 27.98 kB / 0.7785 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.4686, allocations: 1.429 MB / 0.7799 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.4688, allocations: 27.72 kB / 0.7799 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.4688, allocations: 4 kB / 0.7799 GB, free: 6.121 MB / 0.545 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.0001512/0.469, allocations: 166.4 kB / 0.7801 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.469, allocations: 15.81 kB / 0.7801 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.469, allocations: 17.41 kB / 0.7801 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.469, allocations: 3.984 kB / 0.7801 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.4691, allocations: 0 / 0.7801 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.4691, allocations: 100.9 kB / 0.7802 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.4692, allocations: 0 / 0.7802 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.4693, allocations: 4 kB / 0.7802 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.4694, allocations: 15.92 kB / 0.7802 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003371/0.4697, allocations: 209.6 kB / 0.7804 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003463/0.4701, allocations: 339 kB / 0.7807 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.334e-05/0.4702, allocations: 44.12 kB / 0.7808 GB, free: 5.172 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001182/0.4703, allocations: 150.1 kB / 0.7809 GB, free: 5.027 MB / 0.545 GB Notification: Performance of Backend: time 6.81e-07/0.4703, allocations: 0 / 0.7809 GB, free: 5.027 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008847/0.4712, allocations: 376.7 kB / 0.7813 GB, free: 4.637 MB / 0.545 GB Notification: Performance of SimCode: time 0.0009095/0.4721, allocations: 0.8601 MB / 0.7821 GB, free: 3.734 MB / 0.545 GB Notification: Performance of Templates: time 0.006196/0.4783, allocations: 2.754 MB / 0.7848 GB, free: 1.004 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)