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.000942/0.000942, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001155/0.001155, allocations: 173 kB / 23.49 MB, free: 1.059 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.9038/0.9038, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.001592/0.001592, allocations: 237.8 kB / 260.5 MB, free: 12.89 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.7296/0.7296, allocations: 138.4 MB / 455.4 MB, free: 1.566 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.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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.555 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.487e-05, allocations: 2.312 kB / 0.555 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003243/0.003258, allocations: 3.161 MB / 0.5581 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.005186, allocations: 1.948 MB / 0.56 GB, free: 11.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.421e-05/0.00528, allocations: 7.938 kB / 0.56 GB, free: 11.76 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005633/0.005843, allocations: 286.8 kB / 0.5603 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.006126, allocations: 198.9 kB / 0.5605 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.006459, allocations: 262.8 kB / 0.5607 GB, free: 11.03 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.006726, allocations: 334.8 kB / 0.561 GB, free: 10.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.006965, allocations: 141.1 kB / 0.5612 GB, free: 10.56 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.007162, allocations: 191.5 kB / 0.5614 GB, free: 10.38 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.00736, allocations: 143.6 kB / 0.5615 GB, free: 10.23 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.007388, allocations: 20 kB / 0.5615 GB, free: 10.21 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.007736, allocations: 387 kB / 0.5619 GB, free: 9.836 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.451e-05/0.00781, allocations: 91.72 kB / 0.562 GB, free: 9.746 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.119e-05/0.007882, allocations: 83.83 kB / 0.5621 GB, free: 9.664 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.00829, allocations: 426.6 kB / 0.5625 GB, free: 9.246 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.008292, allocations: 0 / 0.5625 GB, free: 9.246 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.008293, allocations: 0 / 0.5625 GB, free: 9.246 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.008297, allocations: 3.938 kB / 0.5625 GB, free: 9.242 MB / 490.7 MB 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.0005502/0.008847, allocations: 0.5971 MB / 0.563 GB, free: 8.605 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.00888, allocations: 8.75 kB / 0.5631 GB, free: 8.598 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005542/0.009434, allocations: 160.5 kB / 0.5632 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.009657, allocations: 213 kB / 0.5634 GB, free: 8.207 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.00967, allocations: 12.88 kB / 0.5634 GB, free: 8.195 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.009696, allocations: 16.38 kB / 0.5634 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.009992, allocations: 302.1 kB / 0.5637 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.01, allocations: 192 / 0.5637 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.01002, allocations: 12.36 kB / 0.5637 GB, free: 7.828 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.01006, allocations: 28.42 kB / 0.5638 GB, free: 7.801 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.01025, allocations: 126.8 kB / 0.5639 GB, free: 7.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.01148, allocations: 1.391 MB / 0.5652 GB, free: 6.219 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.01172, allocations: 182 kB / 0.5654 GB, free: 6.016 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.799e-05/0.01179, allocations: 51.36 kB / 0.5655 GB, free: 5.957 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.01184, allocations: 15.98 kB / 0.5655 GB, free: 5.941 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.01186, allocations: 37.39 kB / 0.5655 GB, free: 5.895 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.01186, allocations: 3.938 kB / 0.5655 GB, free: 5.891 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001099/0.01296, allocations: 0.5523 MB / 0.5661 GB, free: 5.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.01299, allocations: 89.05 kB / 0.5661 GB, free: 5.215 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.01313, allocations: 253.6 kB / 0.5664 GB, free: 4.949 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.01315, allocations: 29.7 kB / 0.5664 GB, free: 4.914 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.01323, allocations: 227.2 kB / 0.5666 GB, free: 4.688 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.01328, allocations: 83.31 kB / 0.5667 GB, free: 4.605 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.01335, allocations: 71.31 kB / 0.5668 GB, free: 4.527 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.01346, allocations: 0.5 MB / 0.5673 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.01354, allocations: 59.95 kB / 0.5673 GB, free: 3.957 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.01366, allocations: 164.4 kB / 0.5675 GB, free: 3.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.01388, allocations: 232.4 kB / 0.5677 GB, free: 3.477 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01388, allocations: 0 / 0.5677 GB, free: 3.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004142/0.01429, allocations: 347.1 kB / 0.568 GB, free: 3.117 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.0143, allocations: 4 kB / 0.568 GB, free: 3.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.01431, allocations: 4 kB / 0.568 GB, free: 3.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/0.01467, allocations: 130.9 kB / 0.5682 GB, free: 2.965 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.01481, allocations: 63.89 kB / 0.5682 GB, free: 2.902 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.01674, allocations: 5.107 MB / 0.5732 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.692e-05/0.01683, allocations: 28.27 kB / 0.5732 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.01685, allocations: 19.94 kB / 0.5733 GB, free: 13.44 MB / 0.4948 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 8.837e-05/0.01694, allocations: 172.5 kB / 0.5734 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.01698, allocations: 31.86 kB / 0.5735 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.01739, allocations: 294.1 kB / 0.5737 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01739, allocations: 0 / 0.5737 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.01739, allocations: 4 kB / 0.5737 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.0174, allocations: 0 / 0.5737 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000742/0.01814, allocations: 0.7393 MB / 0.5745 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.01814, allocations: 8.031 kB / 0.5745 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.01821, allocations: 31.92 kB / 0.5745 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002691/0.01848, allocations: 134.6 kB / 0.5746 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.0185, allocations: 11.94 kB / 0.5746 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.02028, allocations: 5.11 MB / 0.5796 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.02028, allocations: 4 kB / 0.5796 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.02072, allocations: 0.5958 MB / 0.5802 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.02078, allocations: 43.88 kB / 0.5803 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.0208, allocations: 12 kB / 0.5803 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.02092, allocations: 16.11 kB / 0.5803 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.02096, allocations: 31.89 kB / 0.5803 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.02097, allocations: 15.94 kB / 0.5803 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.268e-05/0.02106, allocations: 180.1 kB / 0.5805 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.02106, allocations: 0 / 0.5805 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003088/0.02136, allocations: 91.88 kB / 0.5806 GB, free: 5.402 MB / 0.4948 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.0001564/0.02152, allocations: 147 kB / 0.5807 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000506/0.02203, allocations: 0.5489 MB / 0.5813 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02203, allocations: 0 / 0.5813 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.02229, allocations: 455.2 kB / 0.5817 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.02261, allocations: 49.61 kB / 0.5818 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.02344, allocations: 0.5707 MB / 0.5823 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.553e-05/0.0235, allocations: 108.2 kB / 0.5824 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.429e-05/0.0236, allocations: 50.25 kB / 0.5825 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.02364, allocations: 20.5 kB / 0.5825 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.02364, allocations: 0 / 0.5825 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of Templates: time 0.005788/0.02942, allocations: 4.245 MB / 0.5866 GB, free: 15.12 MB / 0.5105 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.571762136183679]