Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001605/0.001605, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001759/0.001759, allocations: 218.2 kB / 23.01 MB, free: 4.605 MB / 14.72 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 1.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] 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.002555/0.002555, allocations: 280.8 kB / 313.5 MB, free: 2.867 MB / 238.1 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 1.203/1.203, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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 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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002872/0.002872, allocations: 101.9 kB / 0.7408 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1815, allocations: 95.38 MB / 0.8339 GB, free: 8.211 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005045/0.1866, allocations: 3.198 MB / 0.8371 GB, free: 4.996 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003357/0.1899, allocations: 2.034 MB / 0.8391 GB, free: 2.949 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1901, allocations: 7.938 kB / 0.8391 GB, free: 2.941 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0009704/0.191, allocations: 290.9 kB / 0.8393 GB, free: 2.656 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0004861/0.1915, allocations: 199.1 kB / 0.8395 GB, free: 2.461 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006541/0.1922, allocations: 247.3 kB / 0.8398 GB, free: 2.219 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0004137/0.1926, allocations: 326.9 kB / 0.8401 GB, free: 1.898 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.1929, allocations: 148.9 kB / 0.8402 GB, free: 1.746 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.1931, allocations: 139.5 kB / 0.8403 GB, free: 1.609 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.1934, allocations: 159.4 kB / 0.8405 GB, free: 1.453 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.1935, allocations: 20 kB / 0.8405 GB, free: 1.434 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006946/0.1942, allocations: 427.2 kB / 0.8409 GB, free: 1.016 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1943, allocations: 91.67 kB / 0.841 GB, free: 0.9258 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.1944, allocations: 119.5 kB / 0.8411 GB, free: 0.8086 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0006753/0.1951, allocations: 0.4905 MB / 0.8416 GB, free: 324 kB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1951, allocations: 3.938 kB / 0.8416 GB, free: 320 kB / 0.5763 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1951, allocations: 0 / 0.8416 GB, free: 320 kB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.1951, allocations: 0 / 0.8416 GB, free: 320 kB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009184/0.196, allocations: 0.4932 MB / 0.8421 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1961, allocations: 13.34 kB / 0.8421 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008309/0.1969, allocations: 112.6 kB / 0.8422 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.1973, allocations: 206.9 kB / 0.8424 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1973, allocations: 12.81 kB / 0.8424 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.1973, allocations: 20.38 kB / 0.8424 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005922/0.1979, allocations: 357 kB / 0.8428 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1979, allocations: 0 / 0.8428 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.198, allocations: 8 kB / 0.8428 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-05/0.198, allocations: 24.42 kB / 0.8428 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005676/0.1986, allocations: 301.4 kB / 0.8431 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.201, allocations: 1.62 MB / 0.8447 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.2015, allocations: 246.1 kB / 0.8449 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.2017, allocations: 97.67 kB / 0.845 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.391e-05/0.2018, allocations: 19.92 kB / 0.845 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.2018, allocations: 34.84 kB / 0.8451 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.2018, allocations: 0 / 0.8451 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002516/0.2043, allocations: 0.9081 MB / 0.846 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.2044, allocations: 85.05 kB / 0.846 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.2046, allocations: 208.5 kB / 0.8462 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.2047, allocations: 29.7 kB / 0.8463 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.2048, allocations: 176.4 kB / 0.8464 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.2049, allocations: 83.33 kB / 0.8465 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.205, allocations: 69.69 kB / 0.8466 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2051, allocations: 326.8 kB / 0.8469 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.2053, allocations: 127.9 kB / 0.847 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.2056, allocations: 215.1 kB / 0.8472 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/0.2061, allocations: 368.2 kB / 0.8476 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2061, allocations: 0 / 0.8476 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009359/0.2071, allocations: 0.5122 MB / 0.8481 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2071, allocations: 8 kB / 0.8481 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2071, allocations: 0 / 0.8481 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/0.2076, allocations: 147.4 kB / 0.8482 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.2079, allocations: 59.91 kB / 0.8483 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/0.2115, allocations: 3.999 MB / 0.8522 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.2117, allocations: 20.14 kB / 0.8522 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.2117, allocations: 8 kB / 0.8522 GB, free: 4.77 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000224/0.2119, allocations: 173.6 kB / 0.8524 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.212, allocations: 15.91 kB / 0.8524 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009343/0.2129, allocations: 478.6 kB / 0.8528 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.2129, allocations: 3.984 kB / 0.8528 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2129, allocations: 4 kB / 0.8528 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.213, allocations: 0 / 0.8528 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.2146, allocations: 0.9717 MB / 0.8538 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.2147, allocations: 8.031 kB / 0.8538 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.2148, allocations: 27.98 kB / 0.8538 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004268/0.2152, allocations: 143.2 kB / 0.854 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.2152, allocations: 8 kB / 0.854 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003381/0.2186, allocations: 3.949 MB / 0.8578 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.2186, allocations: 3.938 kB / 0.8578 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000918/0.2195, allocations: 0.625 MB / 0.8584 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.2197, allocations: 47.83 kB / 0.8585 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.2197, allocations: 15.92 kB / 0.8585 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.2199, allocations: 23.97 kB / 0.8585 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.22, allocations: 23.95 kB / 0.8585 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.22, allocations: 12 kB / 0.8586 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001968/0.2202, allocations: 157.5 kB / 0.8587 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2202, allocations: 0 / 0.8587 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005543/0.2208, allocations: 95.86 kB / 0.8588 GB, free: 13.55 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002467/0.221, allocations: 147 kB / 0.8589 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.222, allocations: 0.573 MB / 0.8595 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.222, allocations: 4 kB / 0.8595 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.2226, allocations: 394.3 kB / 0.8599 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.2231, allocations: 42.31 kB / 0.8599 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.2243, allocations: 0.6724 MB / 0.8606 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.2248, allocations: 0.7869 MB / 0.8613 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.2249, allocations: 23.44 kB / 0.8614 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2249, allocations: 0 / 0.8614 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of Templates: time 0.01146/0.2363, allocations: 7.733 MB / 0.8689 GB, free: 3.043 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.815736029064283] Failed to read output from testmodel.py, exit status != 0: 0.24404462613165379 0.259769265 0.061562018 Calling exit ...