Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 101.2 kB / 16.27 MB, free: 6.414 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.00129/0.00129, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7888/0.7888, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.89 kB / 0.4911 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4029, allocations: 77.92 MB / 0.5672 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005565/0.4085, allocations: 4.341 MB / 0.5714 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.4112, allocations: 1.861 MB / 0.5732 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.4114, allocations: 11.78 kB / 0.5733 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.4128, allocations: 0.588 MB / 0.5738 GB, free: 28.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004966/0.4133, allocations: 263.3 kB / 0.5741 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.414, allocations: 252.6 kB / 0.5743 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006371/0.4146, allocations: 0.6078 MB / 0.5749 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006566/0.4153, allocations: 472.9 kB / 0.5754 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.4156, allocations: 252.8 kB / 0.5756 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.4161, allocations: 265.8 kB / 0.5759 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.4161, allocations: 36.59 kB / 0.5759 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.4166, allocations: 254.2 kB / 0.5761 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.4168, allocations: 148.5 kB / 0.5763 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.417, allocations: 220.5 kB / 0.5765 GB, free: 26.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007515/0.4178, allocations: 0.6035 MB / 0.5771 GB, free: 26.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4178, allocations: 0.6094 kB / 0.5771 GB, free: 26.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4178, allocations: 1 kB / 0.5771 GB, free: 26.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.4178, allocations: 0 / 0.5771 GB, free: 26.72 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001121/0.419, allocations: 0.7233 MB / 0.5778 GB, free: 26.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.419, allocations: 11.67 kB / 0.5778 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009838/0.42, allocations: 151.3 kB / 0.5779 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.4204, allocations: 324.3 kB / 0.5783 GB, free: 25.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.4204, allocations: 23.78 kB / 0.5783 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-05/0.4205, allocations: 34.38 kB / 0.5783 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007305/0.4212, allocations: 0.5384 MB / 0.5788 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4212, allocations: 1.375 kB / 0.5788 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.4213, allocations: 16.48 kB / 0.5789 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.053e-05/0.4213, allocations: 32.48 kB / 0.5789 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005559/0.4219, allocations: 386.2 kB / 0.5792 GB, free: 25.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.4241, allocations: 2.406 MB / 0.5816 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.4246, allocations: 265.3 kB / 0.5819 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.4248, allocations: 118.5 kB / 0.582 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.4248, allocations: 2.156 kB / 0.582 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.4249, allocations: 33.47 kB / 0.582 GB, free: 23.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 2.345e-06/0.4249, allocations: 4.641 kB / 0.582 GB, free: 23.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.00208/0.4269, allocations: 1.132 MB / 0.5831 GB, free: 22.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.427, allocations: 55.28 kB / 0.5832 GB, free: 22.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.4273, allocations: 296.1 kB / 0.5834 GB, free: 21.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.4273, allocations: 32.33 kB / 0.5835 GB, free: 21.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.4274, allocations: 233 kB / 0.5837 GB, free: 21.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.4275, allocations: 86.67 kB / 0.5838 GB, free: 21.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.4276, allocations: 62 kB / 0.5838 GB, free: 21.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.918e-05/0.4276, allocations: 337.6 kB / 0.5842 GB, free: 21.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.4278, allocations: 107.1 kB / 0.5843 GB, free: 21.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.428, allocations: 190 kB / 0.5844 GB, free: 21.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.4284, allocations: 313.9 kB / 0.5847 GB, free: 20.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4284, allocations: 4.25 kB / 0.5847 GB, free: 20.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006911/0.4291, allocations: 439.3 kB / 0.5852 GB, free: 20.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4291, allocations: 5.188 kB / 0.5852 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4291, allocations: 3.188 kB / 0.5852 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/0.4295, allocations: 98.09 kB / 0.5853 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.4298, allocations: 68.8 kB / 0.5853 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.432, allocations: 4.395 MB / 0.5896 GB, free: 16.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.4323, allocations: 12.34 kB / 0.5896 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.4323, allocations: 14.5 kB / 0.5897 GB, free: 16.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.4325, allocations: 182.8 kB / 0.5898 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/0.4326, allocations: 30.59 kB / 0.5899 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.899e-05/0.4327, allocations: 38.66 kB / 0.5899 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.4327, allocations: 6.906 kB / 0.5899 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.4327, allocations: 1.156 kB / 0.5899 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4327, allocations: 3.984 kB / 0.5899 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.4331, allocations: 397.2 kB / 0.5903 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4331, allocations: 1.406 kB / 0.5903 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.4333, allocations: 37.39 kB / 0.5903 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002936/0.4336, allocations: 104.2 kB / 0.5904 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.4337, allocations: 5.25 kB / 0.5904 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.4357, allocations: 4.389 MB / 0.5947 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4358, allocations: 1.219 kB / 0.5947 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006968/0.4365, allocations: 0.5522 MB / 0.5953 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4366, allocations: 120.8 kB / 0.5954 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.4366, allocations: 9.562 kB / 0.5954 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.4368, allocations: 10.47 kB / 0.5954 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.4369, allocations: 23.8 kB / 0.5954 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.4369, allocations: 8.344 kB / 0.5954 GB, free: 10.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.4371, allocations: 211 kB / 0.5956 GB, free: 10.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4371, allocations: 0 / 0.5956 GB, free: 10.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005769/0.4377, allocations: 103.1 kB / 0.5957 GB, free: 10.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001461/0.4378, allocations: 103.3 kB / 0.5958 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008424/0.4387, allocations: 0.6254 MB / 0.5964 GB, free: 9.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4387, allocations: 0 / 0.5964 GB, free: 9.711 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.4391, allocations: 479.7 kB / 0.5969 GB, free: 9.293 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.4396, allocations: 82.42 kB / 0.597 GB, free: 9.242 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.4407, allocations: 0.7169 MB / 0.5977 GB, free: 8.758 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.441, allocations: 0.8316 MB / 0.5985 GB, free: 7.988 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002097/0.4412, allocations: 61.8 kB / 0.5985 GB, free: 7.957 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.4412, allocations: 23.44 kB / 0.5986 GB, free: 7.949 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4412, allocations: 0 / 0.5986 GB, free: 7.949 MB / 446.1 MB Notification: Performance of Templates: time 0.007221/0.4485, allocations: 4.426 MB / 0.6029 GB, free: 4.668 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)