Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.001429/0.001429, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001512/0.001512, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.488/1.488, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.002606/0.002606, allocations: 230.4 kB / 259.8 MB, free: 12.86 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 1.087/1.087, allocations: 138.5 MB / 454.7 MB, free: 1.453 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.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.225e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004745/0.004767, allocations: 2.698 MB / 0.557 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.008577, allocations: 2.022 MB / 0.5589 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.008698, allocations: 7.938 kB / 0.5589 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008719/0.00957, allocations: 231 kB / 0.5592 GB, free: 11.85 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005758/0.01015, allocations: 222.8 kB / 0.5594 GB, free: 11.63 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000769/0.01092, allocations: 286.9 kB / 0.5597 GB, free: 11.35 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004868/0.0114, allocations: 322.9 kB / 0.56 GB, free: 11.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.01171, allocations: 132.5 kB / 0.5601 GB, free: 10.91 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.01204, allocations: 167.6 kB / 0.5602 GB, free: 10.74 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.01236, allocations: 151.6 kB / 0.5604 GB, free: 10.59 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/0.01241, allocations: 23.98 kB / 0.5604 GB, free: 10.57 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007024/0.01311, allocations: 391.1 kB / 0.5608 GB, free: 10.19 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.01326, allocations: 103.7 kB / 0.5609 GB, free: 10.09 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.01338, allocations: 75.83 kB / 0.561 GB, free: 10.01 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008534/0.01423, allocations: 0.5335 MB / 0.5615 GB, free: 9.477 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01424, allocations: 0 / 0.5615 GB, free: 9.477 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01424, allocations: 0 / 0.5615 GB, free: 9.477 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.01424, allocations: 0 / 0.5615 GB, free: 9.477 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0011/0.01534, allocations: 0.4972 MB / 0.562 GB, free: 8.949 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.01538, allocations: 8.75 kB / 0.562 GB, free: 8.941 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.01651, allocations: 188.4 kB / 0.5622 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.01688, allocations: 205.9 kB / 0.5624 GB, free: 8.531 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.0169, allocations: 12.88 kB / 0.5624 GB, free: 8.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.01697, allocations: 28.36 kB / 0.5624 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008244/0.01779, allocations: 421 kB / 0.5628 GB, free: 8.043 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.01781, allocations: 7.922 kB / 0.5628 GB, free: 8.035 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.01785, allocations: 11.98 kB / 0.5628 GB, free: 8.023 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/0.01789, allocations: 23.98 kB / 0.5628 GB, free: 8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008697/0.01876, allocations: 367.6 kB / 0.5632 GB, free: 7.641 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.02095, allocations: 1.34 MB / 0.5645 GB, free: 6.242 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008581/0.02181, allocations: 341 kB / 0.5648 GB, free: 5.891 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.02223, allocations: 185.5 kB / 0.565 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.02233, allocations: 11.98 kB / 0.565 GB, free: 5.691 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.02237, allocations: 38.56 kB / 0.565 GB, free: 5.645 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.02237, allocations: 0 / 0.565 GB, free: 5.645 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.009811/0.03219, allocations: 2.066 MB / 0.5671 GB, free: 3.574 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.03225, allocations: 81.11 kB / 0.5671 GB, free: 3.477 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.03245, allocations: 186.6 kB / 0.5673 GB, free: 3.281 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.0325, allocations: 29.7 kB / 0.5673 GB, free: 3.246 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.03263, allocations: 156.6 kB / 0.5675 GB, free: 3.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.03276, allocations: 123 kB / 0.5676 GB, free: 2.969 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.03296, allocations: 77.64 kB / 0.5677 GB, free: 2.887 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.03314, allocations: 334.8 kB / 0.568 GB, free: 2.551 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/0.0338, allocations: 265.8 kB / 0.5683 GB, free: 2.289 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007741/0.03457, allocations: 379.1 kB / 0.5686 GB, free: 1.879 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.03607, allocations: 0.6229 MB / 0.5692 GB, free: 1.227 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.03607, allocations: 0 / 0.5692 GB, free: 1.227 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001639/0.03771, allocations: 0.6816 MB / 0.5699 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.03773, allocations: 7.938 kB / 0.5699 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.03774, allocations: 16.25 kB / 0.5699 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.03776, allocations: 4 kB / 0.5699 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.03887, allocations: 151.8 kB / 0.5701 GB, free: 372 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.03888, allocations: 4 kB / 0.5701 GB, free: 368 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.03938, allocations: 51.92 kB / 0.5701 GB, free: 316 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.03943, allocations: 19.98 kB / 0.5701 GB, free: 296 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007692/0.0402, allocations: 372 kB / 0.5705 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007081/0.04091, allocations: 358.8 kB / 0.5708 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00136/0.04227, allocations: 0.5901 MB / 0.5714 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.04227, allocations: 0 / 0.5714 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001584/0.04385, allocations: 0.6419 MB / 0.572 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.04387, allocations: 11.98 kB / 0.572 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.04387, allocations: 4 kB / 0.5721 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.04388, allocations: 7.938 kB / 0.5721 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.04489, allocations: 152 kB / 0.5722 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.0449, allocations: 7.984 kB / 0.5722 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.04538, allocations: 51.92 kB / 0.5723 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.04543, allocations: 16 kB / 0.5723 GB, free: 14.01 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.04562, allocations: 200.1 kB / 0.5725 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.04575, allocations: 35.86 kB / 0.5725 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.04741, allocations: 0.6996 MB / 0.5732 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.04741, allocations: 4 kB / 0.5732 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.04742, allocations: 0 / 0.5732 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.04742, allocations: 3.938 kB / 0.5732 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.04988, allocations: 1.163 MB / 0.5743 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.04988, allocations: 4 kB / 0.5743 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006606/0.05054, allocations: 120 kB / 0.5744 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.05056, allocations: 8 kB / 0.5745 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.05059, allocations: 8 kB / 0.5745 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.05059, allocations: 7.984 kB / 0.5745 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.0506, allocations: 4 kB / 0.5745 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.05187, allocations: 0.7265 MB / 0.5752 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.05202, allocations: 59.83 kB / 0.5752 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.05208, allocations: 15.98 kB / 0.5753 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.05248, allocations: 35.95 kB / 0.5753 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.05258, allocations: 35.88 kB / 0.5753 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.05261, allocations: 12 kB / 0.5753 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002268/0.05284, allocations: 155 kB / 0.5755 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.05284, allocations: 0 / 0.5755 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006906/0.05353, allocations: 151.9 kB / 0.5756 GB, free: 10.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003341/0.05386, allocations: 143 kB / 0.5758 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002/0.05586, allocations: 0.825 MB / 0.5766 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.05586, allocations: 0 / 0.5766 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.05638, allocations: 236.5 kB / 0.5768 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.05694, allocations: 51.09 kB / 0.5768 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.05828, allocations: 0.7068 MB / 0.5775 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.0585, allocations: 174 kB / 0.5777 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000576/0.05907, allocations: 182.8 kB / 0.5779 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.05925, allocations: 36.44 kB / 0.5779 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.05925, allocations: 0 / 0.5779 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of Templates: time 0.01111/0.07037, allocations: 5.437 MB / 0.5832 GB, free: 2.672 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.679247875930741]