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.001212/0.001212, allocations: 101.7 kB / 16.41 MB, free: 6.461 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.001263/0.001263, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.002091, allocations: 292 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.9559/0.9559, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003069/0.003069, allocations: 99.84 kB / 0.6821 GB, free: 7.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5304/0.5335, allocations: 86.98 MB / 0.767 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.004982/0.5385, allocations: 3.199 MB / 0.7702 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.5408, allocations: 1.367 MB / 0.7715 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.541, allocations: 4 kB / 0.7715 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.542, allocations: 346 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.5425, allocations: 151.2 kB / 0.772 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.543, allocations: 151.6 kB / 0.7721 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.5434, allocations: 330.6 kB / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000434/0.5439, allocations: 251.7 kB / 0.7727 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.5441, allocations: 143.5 kB / 0.7728 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.5444, allocations: 143.4 kB / 0.7729 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.5444, allocations: 23.98 kB / 0.773 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.5447, allocations: 167.6 kB / 0.7731 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.5448, allocations: 79.8 kB / 0.7732 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.545, allocations: 123.4 kB / 0.7733 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.5454, allocations: 361.4 kB / 0.7737 GB, free: 13.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5454, allocations: 8 kB / 0.7737 GB, free: 13.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5454, allocations: 0 / 0.7737 GB, free: 13.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.5455, allocations: 0 / 0.7737 GB, free: 13.15 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.0008439/0.5463, allocations: 0.5263 MB / 0.7742 GB, free: 12.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5464, allocations: 12.03 kB / 0.7742 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005895/0.5469, allocations: 92.47 kB / 0.7743 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.5472, allocations: 250.3 kB / 0.7745 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.5473, allocations: 16.75 kB / 0.7745 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.5473, allocations: 20.38 kB / 0.7746 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.5478, allocations: 324.6 kB / 0.7749 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5478, allocations: 0 / 0.7749 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.5478, allocations: 4 kB / 0.7749 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/0.5479, allocations: 20.44 kB / 0.7749 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/0.5482, allocations: 217.5 kB / 0.7751 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.5497, allocations: 1.494 MB / 0.7766 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.5501, allocations: 199.7 kB / 0.7767 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.5502, allocations: 40.84 kB / 0.7768 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.5502, allocations: 4 kB / 0.7768 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.5503, allocations: 42.48 kB / 0.7768 GB, free: 9.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.5503, allocations: 4 kB / 0.7768 GB, free: 9.598 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005554/0.5508, allocations: 251.5 kB / 0.7771 GB, free: 9.324 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.5509, allocations: 55.41 kB / 0.7771 GB, free: 9.258 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.5511, allocations: 207.7 kB / 0.7773 GB, free: 9.047 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.5511, allocations: 25.7 kB / 0.7773 GB, free: 9.016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.5512, allocations: 175.7 kB / 0.7775 GB, free: 8.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.5513, allocations: 35.55 kB / 0.7775 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.5513, allocations: 37.62 kB / 0.7776 GB, free: 8.762 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5514, allocations: 330.8 kB / 0.7779 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.623e-05/0.5515, allocations: 43.92 kB / 0.7779 GB, free: 8.387 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.5517, allocations: 112.5 kB / 0.7781 GB, free: 8.246 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.5519, allocations: 164.4 kB / 0.7782 GB, free: 8.055 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.5519, allocations: 0 / 0.7782 GB, free: 8.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003687/0.5523, allocations: 218.2 kB / 0.7784 GB, free: 7.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5523, allocations: 4 kB / 0.7784 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5523, allocations: 4 kB / 0.7784 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.5525, allocations: 28.78 kB / 0.7785 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.5526, allocations: 35.92 kB / 0.7785 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.5537, allocations: 1.429 MB / 0.7799 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.5539, allocations: 19.94 kB / 0.7799 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.5539, allocations: 12 kB / 0.7799 GB, free: 6.152 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.0001372/0.5541, allocations: 159 kB / 0.7801 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.5541, allocations: 15.81 kB / 0.7801 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.5542, allocations: 17.41 kB / 0.7801 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5542, allocations: 11.97 kB / 0.7801 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.5542, allocations: 0 / 0.7801 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5542, allocations: 0 / 0.7801 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005964/0.5548, allocations: 491.1 kB / 0.7806 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5548, allocations: 0 / 0.7806 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.843e-05/0.5549, allocations: 15.98 kB / 0.7806 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.394e-05/0.555, allocations: 20.84 kB / 0.7806 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.555, allocations: 4 kB / 0.7806 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.556, allocations: 1.421 MB / 0.782 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.556, allocations: 4.156 kB / 0.782 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.5563, allocations: 240.1 kB / 0.7822 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.5564, allocations: 96.84 kB / 0.7823 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.5564, allocations: 8 kB / 0.7823 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.5565, allocations: 4 kB / 0.7823 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.5566, allocations: 3.984 kB / 0.7823 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.5566, allocations: 8 kB / 0.7823 GB, free: 3.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001263/0.5567, allocations: 150.1 kB / 0.7825 GB, free: 3.266 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5567, allocations: 0 / 0.7825 GB, free: 3.266 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003302/0.5571, allocations: 59.78 kB / 0.7825 GB, free: 3.207 MB / 0.545 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 0.0001043/0.5572, allocations: 99.25 kB / 0.7826 GB, free: 3.098 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004264/0.5576, allocations: 234.6 kB / 0.7829 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5576, allocations: 0 / 0.7829 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.5579, allocations: 174.6 kB / 0.783 GB, free: 2.672 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.5582, allocations: 37.62 kB / 0.7831 GB, free: 2.637 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006931/0.5589, allocations: 418.4 kB / 0.7835 GB, free: 2.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.5593, allocations: 0.7593 MB / 0.7842 GB, free: 1.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.5593, allocations: 19.44 kB / 0.7842 GB, free: 1.395 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5593, allocations: 0 / 0.7842 GB, free: 1.395 MB / 0.545 GB Notification: Performance of Templates: time 0.00508/0.5644, allocations: 3.25 MB / 0.7874 GB, free: 14.16 MB / 0.5606 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)