Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0008965/0.0008965, 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.0009513/0.0009513, 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.8903/0.8903, allocations: 177.2 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.002512/0.002512, allocations: 249.5 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.6937/0.6937, allocations: 138.4 MB / 402.2 MB, free: 0.5703 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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0.7656 kB / 462.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.254e-05, allocations: 4.484 kB / 462.3 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004291/0.004303, allocations: 4.738 MB / 467.1 MB, free: 13.81 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.00698, allocations: 1.723 MB / 468.8 MB, free: 12.18 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.007268, allocations: 37.31 kB / 468.8 MB, free: 12.15 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.007781, allocations: 214.4 kB / 469 MB, free: 11.94 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008268/0.008607, allocations: 453.1 kB / 469.5 MB, free: 11.5 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.009166, allocations: 374.8 kB / 469.8 MB, free: 11.13 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000933/0.0101, allocations: 1.271 MB / 471.1 MB, free: 9.859 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005727/0.01067, allocations: 0.5753 MB / 471.7 MB, free: 9.285 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000626/0.0113, allocations: 0.6748 MB / 472.4 MB, free: 8.609 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/0.01178, allocations: 481.2 kB / 472.8 MB, free: 8.141 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.88e-05/0.01185, allocations: 64 kB / 472.9 MB, free: 8.078 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.01206, allocations: 137 kB / 473 MB, free: 7.945 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.01225, allocations: 331 kB / 473.3 MB, free: 7.621 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.01246, allocations: 311.3 kB / 473.6 MB, free: 7.316 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005575/0.01302, allocations: 0.7443 MB / 474.4 MB, free: 6.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.01302, allocations: 0 / 474.4 MB, free: 6.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01302, allocations: 0 / 474.4 MB, free: 6.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.01303, allocations: 1.5 kB / 474.4 MB, free: 6.57 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.0009443/0.01397, allocations: 1.027 MB / 475.4 MB, free: 5.527 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.014, allocations: 8.75 kB / 475.4 MB, free: 5.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006891/0.01469, allocations: 265 kB / 475.7 MB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.0152, allocations: 0.495 MB / 476.2 MB, free: 4.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.01523, allocations: 58.14 kB / 476.2 MB, free: 4.699 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.23e-05/0.0153, allocations: 64.36 kB / 476.3 MB, free: 4.637 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008498/0.01615, allocations: 0.9562 MB / 477.3 MB, free: 3.504 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.01617, allocations: 8.062 kB / 477.3 MB, free: 3.496 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.01622, allocations: 41.03 kB / 477.3 MB, free: 3.457 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.068e-05/0.01631, allocations: 85.2 kB / 477.4 MB, free: 3.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.01658, allocations: 257.4 kB / 477.6 MB, free: 3.121 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.01886, allocations: 3.916 MB / 481.6 MB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.01921, allocations: 282.4 kB / 481.8 MB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.01932, allocations: 96.81 kB / 481.9 MB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.01935, allocations: 8.5 kB / 481.9 MB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.01937, allocations: 39.72 kB / 482 MB, free: 14.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 1.713e-06/0.01937, allocations: 0 / 482 MB, free: 14.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.001331/0.0207, allocations: 0.803 MB / 482.8 MB, free: 13.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.02072, allocations: 55.91 kB / 482.8 MB, free: 13.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.02098, allocations: 479.6 kB / 483.3 MB, free: 13.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.021, allocations: 33.7 kB / 483.3 MB, free: 13.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.02136, allocations: 381.2 kB / 483.7 MB, free: 12.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/0.02145, allocations: 174.5 kB / 483.9 MB, free: 12.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.02156, allocations: 124.1 kB / 484 MB, free: 12.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.02165, allocations: 374.6 kB / 484.4 MB, free: 12.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.291e-05/0.02174, allocations: 73.97 kB / 484.4 MB, free: 12.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.02193, allocations: 296.9 kB / 484.7 MB, free: 11.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.02225, allocations: 440.6 kB / 485.2 MB, free: 11.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.02226, allocations: 4.562 kB / 485.2 MB, free: 11.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006097/0.02287, allocations: 0.5615 MB / 485.7 MB, free: 10.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.02288, allocations: 8.781 kB / 485.7 MB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.02289, allocations: 8 kB / 485.7 MB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.02351, allocations: 299.3 kB / 486 MB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.02373, allocations: 107.8 kB / 486.1 MB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.02661, allocations: 5.301 MB / 491.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.02681, allocations: 20 kB / 491.5 MB, free: 4.547 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.02684, allocations: 25.22 kB / 491.5 MB, free: 4.523 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.02697, allocations: 158.6 kB / 491.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.02703, allocations: 59.94 kB / 491.7 MB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.02753, allocations: 449.1 kB / 492.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02753, allocations: 7.938 kB / 492.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.02754, allocations: 4.719 kB / 492.1 MB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.02754, allocations: 5.266 kB / 492.2 MB, free: 3.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009109/0.02845, allocations: 0.8807 MB / 493 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02846, allocations: 0 / 493 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.02857, allocations: 51.91 kB / 493.1 MB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005657/0.02913, allocations: 277.1 kB / 493.4 MB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.02915, allocations: 12 kB / 493.4 MB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/0.03188, allocations: 5.289 MB / 498.7 MB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.03188, allocations: 4 kB / 498.7 MB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.0324, allocations: 0.5884 MB / 499.2 MB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.03252, allocations: 91.47 kB / 499.3 MB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.03256, allocations: 12.73 kB / 499.3 MB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.0327, allocations: 12 kB / 499.4 MB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.03278, allocations: 48.44 kB / 499.4 MB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.0328, allocations: 15.94 kB / 499.4 MB, free: 12.08 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001296/0.03293, allocations: 208.3 kB / 499.6 MB, free: 11.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.03293, allocations: 0 / 499.6 MB, free: 11.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004489/0.03337, allocations: 220.8 kB / 499.8 MB, free: 11.66 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.597e-05/0.03347, allocations: 94.78 kB / 499.9 MB, free: 11.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000751/0.03422, allocations: 0.8926 MB / 0.4891 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.03423, allocations: 9.25 kB / 0.4891 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.03474, allocations: 0.7164 MB / 0.4898 GB, free: 9.852 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.03521, allocations: 201.1 kB / 0.49 GB, free: 9.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.03657, allocations: 1.265 MB / 0.4912 GB, free: 8.371 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.03672, allocations: 211.3 kB / 0.4914 GB, free: 8.141 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.03691, allocations: 82.08 kB / 0.4915 GB, free: 8.078 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.03719, allocations: 205.7 kB / 0.4917 GB, free: 7.879 MB / 458.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03719, allocations: 0 / 0.4917 GB, free: 7.879 MB / 458.7 MB Notification: Performance of Templates: time 0.01384/0.05103, allocations: 12.07 MB / 0.5035 GB, free: 12.3 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5512337209656835]