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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 117.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002443/0.002443, allocations: 279.9 kB / 303.6 MB, free: 3.723 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 180.9 MB / 0.5268 GB, free: 2.727 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.004118/0.004118, allocations: 99.84 kB / 0.7259 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6282/0.6323, allocations: 94.15 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007381/0.6397, allocations: 6.822 MB / 0.8245 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004731/0.6444, allocations: 3.086 MB / 0.8275 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007772/0.6452, allocations: 26.28 kB / 0.8276 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.6475, allocations: 0.9607 MB / 0.8285 GB, free: 136 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.6492, allocations: 0.5192 MB / 0.829 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.6505, allocations: 432.5 kB / 0.8294 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001755/0.6523, allocations: 1.221 MB / 0.8306 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009071/0.6532, allocations: 0.529 MB / 0.8311 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008033/0.654, allocations: 479.7 kB / 0.8316 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007981/0.6548, allocations: 0.5463 MB / 0.8321 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.803e-05/0.6549, allocations: 67.84 kB / 0.8322 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008793/0.6558, allocations: 386.8 kB / 0.8326 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003828/0.6561, allocations: 315.9 kB / 0.8329 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005076/0.6567, allocations: 451.5 kB / 0.8333 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.6584, allocations: 1.216 MB / 0.8345 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.6584, allocations: 5.188 kB / 0.8345 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.532e-06/0.6584, allocations: 0 / 0.8345 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.6584, allocations: 0 / 0.8345 GB, free: 13.47 MB / 0.5919 GB 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.002167/0.6605, allocations: 1.191 MB / 0.8356 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.6606, allocations: 9.609 kB / 0.8356 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.6622, allocations: 243 kB / 0.8359 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009498/0.6632, allocations: 0.5964 MB / 0.8365 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.6632, allocations: 48.52 kB / 0.8365 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.6633, allocations: 65.8 kB / 0.8366 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.6651, allocations: 1.083 MB / 0.8376 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.6651, allocations: 6.531 kB / 0.8376 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.09e-05/0.6652, allocations: 29.45 kB / 0.8377 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001912/0.6654, allocations: 85.11 kB / 0.8377 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.6668, allocations: 0.7527 MB / 0.8385 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006927/0.6737, allocations: 5.885 MB / 0.8442 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.6748, allocations: 0.5136 MB / 0.8447 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/0.6752, allocations: 282.9 kB / 0.845 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.6753, allocations: 4.344 kB / 0.845 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.6753, allocations: 40.03 kB / 0.845 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/0.6753, allocations: 0 / 0.845 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.004273/0.6796, allocations: 1.995 MB / 0.847 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.6796, allocations: 57.86 kB / 0.847 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/0.6804, allocations: 0.55 MB / 0.8476 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.6804, allocations: 36.08 kB / 0.8476 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.6808, allocations: 431 kB / 0.848 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.6809, allocations: 183.7 kB / 0.8482 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.6811, allocations: 129.1 kB / 0.8483 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.6813, allocations: 378.5 kB / 0.8487 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.6818, allocations: 274.1 kB / 0.8489 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.6824, allocations: 499.2 kB / 0.8494 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.6835, allocations: 0.7983 MB / 0.8502 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.6835, allocations: 3.375 kB / 0.8502 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002039/0.6856, allocations: 1.076 MB / 0.8513 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6856, allocations: 13.77 kB / 0.8513 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.6856, allocations: 7.281 kB / 0.8513 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009322/0.6865, allocations: 284.8 kB / 0.8515 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.687, allocations: 124.9 kB / 0.8517 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007433/0.6945, allocations: 7.133 MB / 0.8586 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007776/0.6952, allocations: 43.3 kB / 0.8587 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.6953, allocations: 29.03 kB / 0.8587 GB, free: 11.72 MB / 0.6075 GB 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.0004402/0.6957, allocations: 250.2 kB / 0.8589 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.6958, allocations: 76.41 kB / 0.859 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.6976, allocations: 0.8776 MB / 0.8599 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6976, allocations: 5.719 kB / 0.8599 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6976, allocations: 3.281 kB / 0.8599 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.6976, allocations: 11.42 kB / 0.8599 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.7005, allocations: 1.724 MB / 0.8616 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.7005, allocations: 1.375 kB / 0.8616 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.7008, allocations: 70.98 kB / 0.8616 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007931/0.7016, allocations: 261.7 kB / 0.8619 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.7016, allocations: 11.88 kB / 0.8619 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007516/0.7091, allocations: 7.124 MB / 0.8689 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7091, allocations: 6.625 kB / 0.8689 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.7109, allocations: 0.9736 MB / 0.8698 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/0.7112, allocations: 189.5 kB / 0.87 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-05/0.7113, allocations: 20.67 kB / 0.87 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.7117, allocations: 28.88 kB / 0.87 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.7118, allocations: 47.25 kB / 0.8701 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.7118, allocations: 18.72 kB / 0.8701 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005138/0.7123, allocations: 385.7 kB / 0.8705 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7123, allocations: 0 / 0.8705 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009472/0.7133, allocations: 220.6 kB / 0.8707 GB, free: 2.016 MB / 0.6075 GB 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 0.0001856/0.7135, allocations: 119.8 kB / 0.8708 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002098/0.7155, allocations: 1.232 MB / 0.872 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.7156, allocations: 0.875 kB / 0.872 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.7169, allocations: 0.8673 MB / 0.8729 GB, free: 384 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.7179, allocations: 220.6 kB / 0.8731 GB, free: 264 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.7204, allocations: 1.419 MB / 0.8744 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.7211, allocations: 1.006 MB / 0.8754 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.7213, allocations: 45.41 kB / 0.8755 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of SimCode: time 9.32e-07/0.7213, allocations: 0 / 0.8755 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.03216/0.7535, allocations: 20.74 MB / 0.8957 GB, free: 15.02 MB / 0.6387 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.846716774161905] Failed to read output from testmodel.py, exit status != 0: 0.7627599961124361 0.775057462 0.113871684 Calling exit ...