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.001759/0.001759, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001952/0.001952, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7581/0.7581, allocations: 126.4 MB / 417.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 0.4953 GB, free: 3.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3723, allocations: 78.77 MB / 0.5723 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.004327/0.3767, allocations: 3.193 MB / 0.5754 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.3785, allocations: 1.359 MB / 0.5767 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.3787, allocations: 5.062 kB / 0.5767 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009806/0.3797, allocations: 343.1 kB / 0.577 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.38, allocations: 150.5 kB / 0.5772 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.3805, allocations: 151.5 kB / 0.5773 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.3808, allocations: 334.4 kB / 0.5776 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.3812, allocations: 255.8 kB / 0.5779 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.3814, allocations: 146.6 kB / 0.578 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.3817, allocations: 145.2 kB / 0.5782 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.3817, allocations: 20.62 kB / 0.5782 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.382, allocations: 164.5 kB / 0.5783 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.3821, allocations: 79.42 kB / 0.5784 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.3822, allocations: 133.1 kB / 0.5785 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.3826, allocations: 355 kB / 0.5789 GB, free: 26.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3826, allocations: 0 / 0.5789 GB, free: 26.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3826, allocations: 1.531 kB / 0.5789 GB, free: 26.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3826, allocations: 0 / 0.5789 GB, free: 26.9 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.0007153/0.3833, allocations: 0.5411 MB / 0.5794 GB, free: 26.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3834, allocations: 11.56 kB / 0.5794 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/0.384, allocations: 81.62 kB / 0.5795 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.3842, allocations: 247.3 kB / 0.5797 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3842, allocations: 12.5 kB / 0.5798 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.3843, allocations: 22.19 kB / 0.5798 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.3847, allocations: 316.5 kB / 0.5801 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3847, allocations: 1.438 kB / 0.5801 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.3848, allocations: 7.094 kB / 0.5801 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.3848, allocations: 22.02 kB / 0.5801 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.3851, allocations: 216.7 kB / 0.5803 GB, free: 25.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.3863, allocations: 1.502 MB / 0.5818 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.3867, allocations: 205.1 kB / 0.582 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.904e-05/0.3868, allocations: 42.78 kB / 0.582 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.3869, allocations: 1.406 kB / 0.582 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.3869, allocations: 36.34 kB / 0.582 GB, free: 24.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.3869, allocations: 0.625 kB / 0.582 GB, free: 24.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005167/0.3874, allocations: 263.7 kB / 0.5823 GB, free: 23.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.3874, allocations: 51.41 kB / 0.5824 GB, free: 23.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3876, allocations: 208.7 kB / 0.5825 GB, free: 23.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.3876, allocations: 31.95 kB / 0.5826 GB, free: 23.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.3877, allocations: 176.8 kB / 0.5827 GB, free: 23.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.3877, allocations: 27.22 kB / 0.5828 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.3878, allocations: 36.2 kB / 0.5828 GB, free: 23.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.366e-05/0.3878, allocations: 330.3 kB / 0.5831 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.3879, allocations: 46.84 kB / 0.5832 GB, free: 23.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.388, allocations: 114.4 kB / 0.5833 GB, free: 22.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.3882, allocations: 164.6 kB / 0.5834 GB, free: 22.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3882, allocations: 2.312 kB / 0.5834 GB, free: 22.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003241/0.3886, allocations: 216.3 kB / 0.5836 GB, free: 22.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3886, allocations: 6.906 kB / 0.5836 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.3886, allocations: 1.375 kB / 0.5837 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.3888, allocations: 26.72 kB / 0.5837 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.3889, allocations: 40.08 kB / 0.5837 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007767/0.3897, allocations: 1.419 MB / 0.5851 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.3898, allocations: 20.44 kB / 0.5851 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.3899, allocations: 5.344 kB / 0.5851 GB, free: 21.2 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.0001065/0.39, allocations: 160.5 kB / 0.5853 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.39, allocations: 15.84 kB / 0.5853 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.3901, allocations: 20 kB / 0.5853 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3901, allocations: 1.281 kB / 0.5853 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3901, allocations: 4.062 kB / 0.5853 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3901, allocations: 1.062 kB / 0.5853 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.3906, allocations: 494.4 kB / 0.5858 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3906, allocations: 0 / 0.5858 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.3907, allocations: 9.406 kB / 0.5858 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.651e-05/0.3908, allocations: 26.34 kB / 0.5858 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3908, allocations: 5.266 kB / 0.5858 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006705/0.3915, allocations: 1.426 MB / 0.5872 GB, free: 19.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3915, allocations: 1.125 kB / 0.5872 GB, free: 19.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3917, allocations: 240.3 kB / 0.5875 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.3918, allocations: 100.6 kB / 0.5875 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.3918, allocations: 5.156 kB / 0.5876 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.392, allocations: 7.922 kB / 0.5876 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.392, allocations: 4.812 kB / 0.5876 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.392, allocations: 6.641 kB / 0.5876 GB, free: 18.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.3922, allocations: 155.1 kB / 0.5877 GB, free: 18.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3922, allocations: 0 / 0.5877 GB, free: 18.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.3925, allocations: 62.75 kB / 0.5878 GB, free: 18.65 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 9.588e-05/0.3926, allocations: 104.3 kB / 0.5879 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004164/0.3931, allocations: 240 kB / 0.5881 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3931, allocations: 0.625 kB / 0.5881 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.3932, allocations: 166.9 kB / 0.5883 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.3936, allocations: 37.08 kB / 0.5883 GB, free: 18.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.3942, allocations: 391 kB / 0.5887 GB, free: 17.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.3944, allocations: 0.7587 MB / 0.5894 GB, free: 17.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.3945, allocations: 28.69 kB / 0.5894 GB, free: 17.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.3946, allocations: 14.5 kB / 0.5895 GB, free: 17.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3946, allocations: 0 / 0.5895 GB, free: 17.2 MB / 446.1 MB Notification: Performance of Templates: time 0.004697/0.3993, allocations: 1.923 MB / 0.5913 GB, free: 16.27 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)