Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009001/0.0009001, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009878/0.0009878, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9969/0.9969, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002456/0.002456, allocations: 241.2 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7131/0.7131, allocations: 138.4 MB / 402.2 MB, free: 0.4961 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.391e-05, allocations: 3.406 kB / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLine): time 0.00414/0.004154, allocations: 4.667 MB / 467 MB, free: 13.88 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.008037, allocations: 3.495 MB / 470.5 MB, free: 10.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/0.008321, allocations: 32.31 kB / 470.5 MB, free: 10.45 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005762/0.008897, allocations: 218.7 kB / 470.7 MB, free: 10.24 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.01014, allocations: 0.7088 MB / 471.4 MB, free: 9.535 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005919/0.01073, allocations: 323.8 kB / 471.7 MB, free: 9.223 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.01183, allocations: 1.183 MB / 472.9 MB, free: 8.043 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006704/0.0125, allocations: 0.5904 MB / 473.5 MB, free: 7.457 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007285/0.01323, allocations: 0.7076 MB / 474.2 MB, free: 6.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004859/0.01371, allocations: 415.6 kB / 474.6 MB, free: 6.344 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.006e-05/0.0138, allocations: 69.78 kB / 474.7 MB, free: 6.277 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.01404, allocations: 139.8 kB / 474.8 MB, free: 6.141 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.01421, allocations: 267.2 kB / 475.1 MB, free: 5.879 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.01441, allocations: 286.9 kB / 475.4 MB, free: 5.602 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000558/0.01497, allocations: 0.654 MB / 476 MB, free: 4.945 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.01497, allocations: 0.625 kB / 476 MB, free: 4.945 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01497, allocations: 2.219 kB / 476 MB, free: 4.945 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.01498, allocations: 0 / 476 MB, free: 4.945 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.0009397/0.01592, allocations: 0.9762 MB / 477 MB, free: 3.945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.01595, allocations: 8.75 kB / 477 MB, free: 3.938 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.017, allocations: 423.6 kB / 477.4 MB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.01746, allocations: 469.7 kB / 477.9 MB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.01749, allocations: 37.67 kB / 477.9 MB, free: 3.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/0.01755, allocations: 52.38 kB / 478 MB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.0182, allocations: 0.7399 MB / 478.7 MB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.01821, allocations: 12.48 kB / 478.7 MB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.01826, allocations: 27.98 kB / 478.7 MB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/0.0183, allocations: 42.53 kB / 478.8 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.01857, allocations: 214.7 kB / 479 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.02009, allocations: 1.709 MB / 480.7 MB, free: 124 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.02049, allocations: 222.8 kB / 480.9 MB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.7e-05/0.02058, allocations: 58.52 kB / 481 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.0206, allocations: 10.09 kB / 481 MB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.02062, allocations: 35.09 kB / 481 MB, free: 15.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.02063, allocations: 0 / 481 MB, free: 15.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.000821/0.02145, allocations: 486.4 kB / 481.5 MB, free: 15.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.02147, allocations: 55.41 kB / 481.5 MB, free: 15.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.02171, allocations: 427.1 kB / 482 MB, free: 14.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.02174, allocations: 29.7 kB / 482 MB, free: 14.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.02186, allocations: 318.2 kB / 482.3 MB, free: 14.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.02192, allocations: 111 kB / 482.4 MB, free: 14.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.022, allocations: 78.86 kB / 482.5 MB, free: 14.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.02209, allocations: 370.6 kB / 482.8 MB, free: 13.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.879e-05/0.02216, allocations: 44.19 kB / 482.9 MB, free: 13.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.02227, allocations: 149.2 kB / 483 MB, free: 13.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.02246, allocations: 224.9 kB / 483.3 MB, free: 13.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.02247, allocations: 4.5 kB / 483.3 MB, free: 13.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003731/0.02284, allocations: 322 kB / 483.6 MB, free: 13.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.02285, allocations: 15.88 kB / 483.6 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.02286, allocations: 4.5 kB / 483.6 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.02318, allocations: 139 kB / 483.7 MB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.02339, allocations: 93.91 kB / 483.8 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.02513, allocations: 3.731 MB / 487.6 MB, free: 8.848 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.02529, allocations: 40.52 kB / 487.6 MB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.02531, allocations: 19.98 kB / 487.6 MB, free: 8.789 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001324/0.02545, allocations: 125.4 kB / 487.7 MB, free: 8.664 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001075/0.02555, allocations: 161.7 kB / 487.9 MB, free: 8.461 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001856/0.02574, allocations: 232.7 kB / 488.1 MB, free: 8.191 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.02574, allocations: 0 / 488.1 MB, free: 8.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0003904/0.02613, allocations: 317.6 kB / 488.4 MB, free: 7.867 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.164e-06/0.02614, allocations: 5.656 kB / 488.4 MB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.02614, allocations: 4 kB / 488.4 MB, free: 7.859 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-05/0.02624, allocations: 69.83 kB / 488.5 MB, free: 7.781 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.02644, allocations: 101.2 kB / 488.6 MB, free: 7.684 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.02771, allocations: 3.556 MB / 492.2 MB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.02786, allocations: 35.83 kB / 492.2 MB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.02788, allocations: 19.92 kB / 492.2 MB, free: 3.797 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 38 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.357e-05/0.02797, allocations: 205.5 kB / 492.4 MB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.02803, allocations: 43.95 kB / 492.5 MB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.02808, allocations: 65.94 kB / 492.5 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.02808, allocations: 1.375 kB / 492.5 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.02808, allocations: 4 kB / 492.5 MB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.02809, allocations: 3.938 kB / 492.5 MB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.02834, allocations: 274.4 kB / 492.8 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02835, allocations: 0.625 kB / 492.8 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.0285, allocations: 64.98 kB / 492.9 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002517/0.02875, allocations: 127.7 kB / 493 MB, free: 3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.02876, allocations: 4 kB / 493 MB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.03021, allocations: 3.679 MB / 496.7 MB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.03021, allocations: 0.9375 kB / 496.7 MB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.03054, allocations: 339.2 kB / 497 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.03063, allocations: 72.31 kB / 497.1 MB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.03066, allocations: 4 kB / 497.1 MB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.0308, allocations: 21.17 kB / 497.1 MB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.03084, allocations: 31.83 kB / 497.1 MB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.03086, allocations: 11.98 kB / 497.1 MB, free: 14.55 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.03098, allocations: 190.1 kB / 497.3 MB, free: 14.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03098, allocations: 0 / 497.3 MB, free: 14.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004594/0.03144, allocations: 327.2 kB / 497.6 MB, free: 14.04 MB / 458.7 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 (25): * Single equations (assignments): 22 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 9.093e-05/0.03153, allocations: 86.41 kB / 497.7 MB, free: 13.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000719/0.03225, allocations: 1.001 MB / 498.7 MB, free: 12.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.03226, allocations: 5.031 kB / 498.7 MB, free: 12.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.03251, allocations: 446.2 kB / 499.2 MB, free: 12.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.03294, allocations: 210.3 kB / 499.4 MB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.03416, allocations: 1.039 MB / 0.4887 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.03427, allocations: 187.7 kB / 0.4889 GB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002345/0.03451, allocations: 84.78 kB / 0.489 GB, free: 10.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.03478, allocations: 197.9 kB / 0.4891 GB, free: 10.69 MB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03478, allocations: 4.875 kB / 0.4891 GB, free: 10.68 MB / 458.7 MB Notification: Performance of Templates: time 0.0124/0.04718, allocations: 10.89 MB / 0.4998 GB, free: 264 kB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.895829615648836]