Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 115.2 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 193.2 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002429/0.002429, allocations: 284.8 kB / 303.6 MB, free: 3.758 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 180.9 MB / 0.5268 GB, free: 2.699 MB / 382.1 MB " [Timeout remaining time 179] 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.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 95.84 kB / 0.7259 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.593/0.5959, allocations: 94.16 MB / 0.8178 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.005539/0.6014, allocations: 4.406 MB / 0.8221 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.6044, allocations: 1.877 MB / 0.824 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003136/0.6047, allocations: 18.56 kB / 0.824 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.6063, allocations: 0.6049 MB / 0.8246 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007002/0.607, allocations: 255.8 kB / 0.8248 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007301/0.6077, allocations: 258.9 kB / 0.8251 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006962/0.6084, allocations: 0.6082 MB / 0.8257 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005663/0.609, allocations: 371.8 kB / 0.826 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.6092, allocations: 247.6 kB / 0.8263 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.6097, allocations: 286.4 kB / 0.8265 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.6097, allocations: 41.69 kB / 0.8266 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/0.6102, allocations: 263.4 kB / 0.8268 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.6103, allocations: 155.6 kB / 0.827 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.6105, allocations: 218.2 kB / 0.8272 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007707/0.6113, allocations: 0.608 MB / 0.8278 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6113, allocations: 0 / 0.8278 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6113, allocations: 0 / 0.8278 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.6113, allocations: 0 / 0.8278 GB, free: 1.355 MB / 0.5762 GB 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.001211/0.6125, allocations: 0.7332 MB / 0.8285 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.6125, allocations: 10.56 kB / 0.8285 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009517/0.6135, allocations: 150.8 kB / 0.8286 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.614, allocations: 342.7 kB / 0.829 GB, free: 484 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.614, allocations: 26.64 kB / 0.829 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.614, allocations: 38.66 kB / 0.829 GB, free: 452 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008568/0.6149, allocations: 0.5347 MB / 0.8296 GB, free: 168 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.6149, allocations: 0 / 0.8296 GB, free: 168 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.615, allocations: 13.12 kB / 0.8296 GB, free: 160 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.162e-05/0.615, allocations: 33.36 kB / 0.8296 GB, free: 156 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.6156, allocations: 390.3 kB / 0.83 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.6186, allocations: 2.397 MB / 0.8323 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/0.6191, allocations: 249.3 kB / 0.8326 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.6193, allocations: 99.69 kB / 0.8327 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.6193, allocations: 3.453 kB / 0.8327 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.6193, allocations: 34.56 kB / 0.8327 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 2.425e-06/0.6193, allocations: 0 / 0.8327 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002316/0.6217, allocations: 1.124 MB / 0.8338 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.6217, allocations: 59.95 kB / 0.8338 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.6221, allocations: 311 kB / 0.8341 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.6221, allocations: 29.7 kB / 0.8342 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.6223, allocations: 237.2 kB / 0.8344 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.6223, allocations: 85.73 kB / 0.8345 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.6225, allocations: 61.33 kB / 0.8345 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.6226, allocations: 342.9 kB / 0.8349 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.6228, allocations: 103.8 kB / 0.835 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.623, allocations: 189.7 kB / 0.8351 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.6234, allocations: 323.5 kB / 0.8354 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6235, allocations: 2.531 kB / 0.8355 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007815/0.6242, allocations: 439.6 kB / 0.8359 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.6243, allocations: 6.5 kB / 0.8359 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6243, allocations: 2.344 kB / 0.8359 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003863/0.6246, allocations: 93.36 kB / 0.836 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.6249, allocations: 68.53 kB / 0.836 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/0.6288, allocations: 4.396 MB / 0.8403 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.6291, allocations: 10.94 kB / 0.8403 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.6291, allocations: 10.66 kB / 0.8403 GB, free: 7.129 MB / 0.5919 GB 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.0002755/0.6294, allocations: 177 kB / 0.8405 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/0.6295, allocations: 35.53 kB / 0.8405 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.509e-05/0.6296, allocations: 41.98 kB / 0.8406 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.6296, allocations: 3.812 kB / 0.8406 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.6296, allocations: 0.6094 kB / 0.8406 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.6296, allocations: 2.859 kB / 0.8406 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.6302, allocations: 399.8 kB / 0.841 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6302, allocations: 0 / 0.841 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.6304, allocations: 41.09 kB / 0.841 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003514/0.6307, allocations: 91.7 kB / 0.8411 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.6308, allocations: 5.125 kB / 0.8411 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003722/0.6345, allocations: 4.384 MB / 0.8454 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6345, allocations: 1.812 kB / 0.8454 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009736/0.6355, allocations: 0.5648 MB / 0.8459 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.6357, allocations: 131.2 kB / 0.8461 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.6357, allocations: 2.656 kB / 0.8461 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.6359, allocations: 11.67 kB / 0.8461 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.636, allocations: 18.72 kB / 0.8461 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.636, allocations: 8.875 kB / 0.8461 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000275/0.6363, allocations: 212.5 kB / 0.8463 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6363, allocations: 1.188 kB / 0.8463 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005943/0.6369, allocations: 98.22 kB / 0.8464 GB, free: 1.695 MB / 0.5919 GB 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.0001745/0.6371, allocations: 109.5 kB / 0.8465 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.6382, allocations: 0.5898 MB / 0.8471 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6382, allocations: 1.156 kB / 0.8471 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006265/0.6388, allocations: 465.8 kB / 0.8475 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.6393, allocations: 79.11 kB / 0.8476 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.641, allocations: 0.7769 MB / 0.8484 GB, free: 292 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.6416, allocations: 0.8354 MB / 0.8492 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.6416, allocations: 25 kB / 0.8492 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of SimCode: time 5.52e-07/0.6416, allocations: 0 / 0.8492 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of Templates: time 0.01485/0.6565, allocations: 8.71 MB / 0.8577 GB, free: 12.94 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.598004767205566] Failed to read output from testmodel.py, exit status != 0: 0.664830397348851 0.678384847 0.06407164700000001 Calling exit ...