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.001588/0.001588, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001815/0.001815, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002278/0.002278, allocations: 284.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9321/0.9321, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4162, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.004939/0.4211, allocations: 3.203 MB / 0.7702 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002305/0.4235, allocations: 1.356 MB / 0.7715 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.4237, allocations: 7.938 kB / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.4248, allocations: 346.7 kB / 0.7718 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.4252, allocations: 147.2 kB / 0.772 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.4256, allocations: 147.6 kB / 0.7721 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004773/0.4261, allocations: 334.6 kB / 0.7724 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004547/0.4266, allocations: 251.7 kB / 0.7727 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.4269, allocations: 139.5 kB / 0.7728 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.4272, allocations: 147.4 kB / 0.7729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.4273, allocations: 20 kB / 0.773 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.4276, allocations: 171.6 kB / 0.7731 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.4277, allocations: 87.78 kB / 0.7732 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.4279, allocations: 119.4 kB / 0.7733 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006267/0.4285, allocations: 357.5 kB / 0.7737 GB, free: 13.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4285, allocations: 0 / 0.7737 GB, free: 13.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4285, allocations: 0 / 0.7737 GB, free: 13.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.4286, allocations: 0 / 0.7737 GB, free: 13.1 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.001099/0.4297, allocations: 0.538 MB / 0.7742 GB, free: 12.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4297, allocations: 8.031 kB / 0.7742 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000672/0.4304, allocations: 88.48 kB / 0.7743 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.4308, allocations: 250.3 kB / 0.7745 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.4308, allocations: 24.67 kB / 0.7745 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.4309, allocations: 24.38 kB / 0.7746 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.4314, allocations: 312.6 kB / 0.7749 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4314, allocations: 0 / 0.7749 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.4315, allocations: 15.98 kB / 0.7749 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.4315, allocations: 16.42 kB / 0.7749 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.4319, allocations: 217.6 kB / 0.7751 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.4334, allocations: 1.49 MB / 0.7766 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.4339, allocations: 207.6 kB / 0.7768 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.434, allocations: 40.84 kB / 0.7768 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.434, allocations: 0 / 0.7768 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.434, allocations: 42.56 kB / 0.7768 GB, free: 9.539 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.434, allocations: 0 / 0.7768 GB, free: 9.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005558/0.4346, allocations: 263.5 kB / 0.7771 GB, free: 9.254 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.4346, allocations: 51.41 kB / 0.7771 GB, free: 9.191 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.4349, allocations: 207.7 kB / 0.7773 GB, free: 8.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.4349, allocations: 29.7 kB / 0.7774 GB, free: 8.945 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.435, allocations: 175.7 kB / 0.7775 GB, free: 8.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.4351, allocations: 27.56 kB / 0.7776 GB, free: 8.742 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.4351, allocations: 37.61 kB / 0.7776 GB, free: 8.699 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.4353, allocations: 330.8 kB / 0.7779 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.52e-05/0.4354, allocations: 43.97 kB / 0.7779 GB, free: 8.324 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.4355, allocations: 108.6 kB / 0.778 GB, free: 8.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.4357, allocations: 168.4 kB / 0.7782 GB, free: 7.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4357, allocations: 0 / 0.7782 GB, free: 7.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003667/0.4361, allocations: 214.1 kB / 0.7784 GB, free: 7.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4361, allocations: 15.27 kB / 0.7784 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4362, allocations: 0 / 0.7784 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.4363, allocations: 28.84 kB / 0.7785 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.4365, allocations: 27.98 kB / 0.7785 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009816/0.4375, allocations: 1.437 MB / 0.7799 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.4376, allocations: 23.78 kB / 0.7799 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.4376, allocations: 4 kB / 0.7799 GB, free: 6.094 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.0001312/0.4378, allocations: 158.3 kB / 0.7801 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.4378, allocations: 15.81 kB / 0.7801 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.4379, allocations: 21.39 kB / 0.7801 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4379, allocations: 0 / 0.7801 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4379, allocations: 64 / 0.7801 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.016e-05/0.438, allocations: 104.9 kB / 0.7802 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.438, allocations: 0 / 0.7802 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.4381, allocations: 7.984 kB / 0.7802 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.4382, allocations: 7.938 kB / 0.7802 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003389/0.4385, allocations: 221.6 kB / 0.7804 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003403/0.4389, allocations: 334.6 kB / 0.7807 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.712e-05/0.4389, allocations: 39.94 kB / 0.7808 GB, free: 5.148 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001165/0.4391, allocations: 150.1 kB / 0.7809 GB, free: 5.004 MB / 0.545 GB Notification: Performance of Backend: time 2.91e-07/0.4391, allocations: 0 / 0.7809 GB, free: 5.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008666/0.4399, allocations: 372.9 kB / 0.7813 GB, free: 4.617 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008515/0.4408, allocations: 0.8631 MB / 0.7821 GB, free: 3.715 MB / 0.545 GB Notification: Performance of Templates: time 0.005942/0.4468, allocations: 2.756 MB / 0.7848 GB, free: 0.9766 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)