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.001299/0.001299, allocations: 105.8 kB / 16.27 MB, free: 6.105 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.00137/0.001371, allocations: 186 kB / 17.2 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.412/1.412, 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.8327/0.8327, allocations: 126.7 MB / 417.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 68.03 kB / 0.4957 GB, free: 2.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4192, allocations: 78.86 MB / 0.5728 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005893/0.4251, allocations: 4.34 MB / 0.577 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.428, allocations: 1.85 MB / 0.5788 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.4282, allocations: 15.09 kB / 0.5788 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.4297, allocations: 0.6078 MB / 0.5794 GB, free: 26.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005869/0.4303, allocations: 255.8 kB / 0.5797 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006538/0.431, allocations: 251.2 kB / 0.5799 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.4316, allocations: 0.6102 MB / 0.5805 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006463/0.4322, allocations: 473.2 kB / 0.5809 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.4325, allocations: 244 kB / 0.5812 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.4329, allocations: 267.8 kB / 0.5814 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.721e-05/0.4329, allocations: 36.25 kB / 0.5815 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.4334, allocations: 252.7 kB / 0.5817 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.4335, allocations: 160.5 kB / 0.5819 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.4337, allocations: 213 kB / 0.5821 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005986/0.4343, allocations: 0.5988 MB / 0.5826 GB, free: 24.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4343, allocations: 0 / 0.5826 GB, free: 24.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4344, allocations: 0 / 0.5826 GB, free: 24.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.4344, allocations: 0 / 0.5826 GB, free: 24.24 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.001114/0.4355, allocations: 0.7258 MB / 0.5834 GB, free: 23.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4355, allocations: 9.75 kB / 0.5834 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009536/0.4365, allocations: 152.4 kB / 0.5835 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.4369, allocations: 322.5 kB / 0.5838 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.4369, allocations: 34.69 kB / 0.5838 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.437, allocations: 29.91 kB / 0.5839 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.4377, allocations: 0.5363 MB / 0.5844 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4377, allocations: 4.781 kB / 0.5844 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.4378, allocations: 12.5 kB / 0.5844 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.4378, allocations: 33.23 kB / 0.5844 GB, free: 22.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.4383, allocations: 386.1 kB / 0.5848 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.4403, allocations: 2.414 MB / 0.5872 GB, free: 20.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.4408, allocations: 260 kB / 0.5874 GB, free: 20.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.441, allocations: 110.9 kB / 0.5875 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.441, allocations: 3.25 kB / 0.5875 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.441, allocations: 38.5 kB / 0.5876 GB, free: 20.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.441, allocations: 0 / 0.5876 GB, free: 20.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001972/0.443, allocations: 1.13 MB / 0.5887 GB, free: 19.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.443, allocations: 54.28 kB / 0.5887 GB, free: 19.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.4433, allocations: 300.2 kB / 0.589 GB, free: 19.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.4433, allocations: 32.08 kB / 0.589 GB, free: 19.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4434, allocations: 233.5 kB / 0.5893 GB, free: 18.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.4435, allocations: 82.47 kB / 0.5893 GB, free: 18.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.918e-05/0.4436, allocations: 61.44 kB / 0.5894 GB, free: 18.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.4437, allocations: 339.6 kB / 0.5897 GB, free: 18.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.4438, allocations: 105.6 kB / 0.5898 GB, free: 18.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.444, allocations: 186.4 kB / 0.59 GB, free: 18.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.4444, allocations: 317.7 kB / 0.5903 GB, free: 17.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4444, allocations: 1 kB / 0.5903 GB, free: 17.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006865/0.4451, allocations: 442.1 kB / 0.5907 GB, free: 17.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.4451, allocations: 11.8 kB / 0.5907 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.4451, allocations: 3.188 kB / 0.5907 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.4455, allocations: 99.47 kB / 0.5908 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.4458, allocations: 60.19 kB / 0.5909 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.448, allocations: 4.398 MB / 0.5952 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.4483, allocations: 13.02 kB / 0.5952 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.4483, allocations: 14.38 kB / 0.5952 GB, free: 13.14 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.0001917/0.4485, allocations: 179.6 kB / 0.5954 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.4486, allocations: 31.94 kB / 0.5954 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.629e-05/0.4487, allocations: 41.06 kB / 0.5955 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4487, allocations: 2.688 kB / 0.5955 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.4487, allocations: 1.344 kB / 0.5955 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4487, allocations: 1.438 kB / 0.5955 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.4491, allocations: 396.5 kB / 0.5958 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4491, allocations: 5.406 kB / 0.5958 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.4493, allocations: 53.59 kB / 0.5959 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.4496, allocations: 87.53 kB / 0.596 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.4496, allocations: 9.438 kB / 0.596 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.4518, allocations: 4.389 MB / 0.6003 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4518, allocations: 1.406 kB / 0.6003 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007039/0.4525, allocations: 0.5614 MB / 0.6008 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/0.4526, allocations: 124.8 kB / 0.6009 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.4527, allocations: 8 kB / 0.6009 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.4529, allocations: 11.98 kB / 0.601 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.4529, allocations: 19.98 kB / 0.601 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.4529, allocations: 8.062 kB / 0.601 GB, free: 7.414 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.4531, allocations: 211.1 kB / 0.6012 GB, free: 7.207 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4531, allocations: 0 / 0.6012 GB, free: 7.207 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004563/0.4536, allocations: 103.9 kB / 0.6013 GB, free: 7.105 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 9.984e-05/0.4537, allocations: 103.2 kB / 0.6014 GB, free: 6.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007046/0.4544, allocations: 0.6287 MB / 0.602 GB, free: 6.328 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4544, allocations: 0 / 0.602 GB, free: 6.328 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.4548, allocations: 481.1 kB / 0.6025 GB, free: 5.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.4552, allocations: 79.19 kB / 0.6025 GB, free: 5.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000946/0.4562, allocations: 0.7159 MB / 0.6032 GB, free: 5.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.4564, allocations: 0.8311 MB / 0.604 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.4566, allocations: 58.94 kB / 0.6041 GB, free: 4.086 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.4567, allocations: 23.44 kB / 0.6041 GB, free: 4.062 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4567, allocations: 0 / 0.6041 GB, free: 4.062 MB / 446.1 MB Notification: Performance of Templates: time 0.007954/0.4646, allocations: 4.424 MB / 0.6084 GB, free: 15.69 MB / 462.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)