Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001307/0.001307, allocations: 101.9 kB / 19.59 MB, free: 2.324 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.001335/0.001335, allocations: 191.1 kB / 22.85 MB, free: 5.652 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.417/1.417, allocations: 225.6 MB / 251.5 MB, free: 13.02 MB / 206.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.002544/0.002544, allocations: 293.2 kB / 307 MB, free: 8.344 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.169/1.169, allocations: 180.8 MB / 0.5304 GB, free: 14.52 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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002899/0.002899, allocations: 99.67 kB / 0.7311 GB, free: 38.79 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1592, allocations: 94.21 MB / 0.8231 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01398/0.1732, allocations: 11.22 MB / 0.834 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01362/0.1868, allocations: 9.045 MB / 0.8429 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009153/0.1877, allocations: 79.31 kB / 0.8429 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004329/0.1921, allocations: 1.749 MB / 0.8446 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.1961, allocations: 1.577 MB / 0.8462 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.1978, allocations: 0.6754 MB / 0.8468 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003024/0.2008, allocations: 2.29 MB / 0.8491 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.2022, allocations: 0.9663 MB / 0.85 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.2038, allocations: 1.032 MB / 0.851 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.2053, allocations: 1.078 MB / 0.8521 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.2055, allocations: 136 kB / 0.8522 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.207, allocations: 0.7447 MB / 0.8529 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000619/0.2076, allocations: 0.5841 MB / 0.8535 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009319/0.2085, allocations: 0.8861 MB / 0.8544 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003298/0.2118, allocations: 2.58 MB / 0.8569 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2118, allocations: 4 kB / 0.8569 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2118, allocations: 0 / 0.8569 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.136e-05/0.2118, allocations: 0 / 0.8569 GB, free: 15.27 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003295/0.2151, allocations: 1.987 MB / 0.8588 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2152, allocations: 12.03 kB / 0.8589 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.2256, allocations: 2.059 MB / 0.8609 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.2282, allocations: 1.141 MB / 0.862 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/0.2283, allocations: 94.62 kB / 0.8621 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.2285, allocations: 116.1 kB / 0.8622 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005326/0.2338, allocations: 2.479 MB / 0.8646 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/0.2339, allocations: 11.89 kB / 0.8646 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.234, allocations: 55.98 kB / 0.8647 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003353/0.2344, allocations: 126.1 kB / 0.8648 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006893/0.2413, allocations: 2.545 MB / 0.8673 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.2549, allocations: 9.902 MB / 0.8769 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005777/0.2607, allocations: 1.842 MB / 0.8787 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/0.2633, allocations: 0.9425 MB / 0.8797 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.075e-05/0.2633, allocations: 4.438 kB / 0.8797 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.2634, allocations: 39 kB / 0.8797 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.204e-06/0.2634, allocations: 4 kB / 0.8797 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81): time 0.03047/0.2939, allocations: 8.642 MB / 0.8881 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.2939, allocations: 60.06 kB / 0.8882 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.2954, allocations: 1.105 MB / 0.8893 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-05/0.2955, allocations: 37.7 kB / 0.8893 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005948/0.2961, allocations: 0.7512 MB / 0.8901 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.2964, allocations: 293.4 kB / 0.8903 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003969/0.2968, allocations: 202.5 kB / 0.8905 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.297, allocations: 345.9 kB / 0.8909 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/0.2998, allocations: 1.071 MB / 0.8919 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00304/0.3028, allocations: 1.309 MB / 0.8932 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005891/0.3087, allocations: 2.378 MB / 0.8955 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3087, allocations: 4 kB / 0.8955 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00869/0.3174, allocations: 3.253 MB / 0.8987 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.3174, allocations: 8 kB / 0.8987 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3175, allocations: 8.875 kB / 0.8987 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002887/0.3203, allocations: 0.791 MB / 0.8995 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/0.3222, allocations: 415.3 kB / 0.8999 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/0.3398, allocations: 15.11 MB / 0.9146 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.342, allocations: 287.8 kB / 0.9149 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.3421, allocations: 55.95 kB / 0.915 GB, free: 1.629 MB / 0.6544 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0007495/0.3429, allocations: 408.8 kB / 0.9153 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.3431, allocations: 155 kB / 0.9155 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008936/0.3521, allocations: 3.167 MB / 0.9186 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.3521, allocations: 11.94 kB / 0.9186 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.3521, allocations: 11.94 kB / 0.9186 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.3521, allocations: 3.984 kB / 0.9186 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.3635, allocations: 4.842 MB / 0.9233 GB, free: 8.875 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.3635, allocations: 11.97 kB / 0.9233 GB, free: 8.863 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.3651, allocations: 355.3 kB / 0.9237 GB, free: 8.516 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002571/0.3677, allocations: 0.6939 MB / 0.9244 GB, free: 7.797 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.3678, allocations: 27.97 kB / 0.9244 GB, free: 7.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/0.3845, allocations: 14.73 MB / 0.9388 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.3845, allocations: 4 kB / 0.9388 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008349/0.3928, allocations: 3.028 MB / 0.9417 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008086/0.3936, allocations: 314.8 kB / 0.942 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.3938, allocations: 12.14 kB / 0.942 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/0.3956, allocations: 299.4 kB / 0.9423 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/0.3958, allocations: 84.44 kB / 0.9424 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.596e-05/0.3959, allocations: 39.97 kB / 0.9425 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001074/0.397, allocations: 0.7405 MB / 0.9432 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.397, allocations: 0 / 0.9432 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00148/0.3985, allocations: 428 kB / 0.9436 GB, free: 3.113 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002385/0.3987, allocations: 131.8 kB / 0.9437 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008488/0.4072, allocations: 3.504 MB / 0.9471 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.4072, allocations: 8.125 kB / 0.9471 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004996/0.4122, allocations: 2.328 MB / 0.9494 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.4144, allocations: 0.5267 MB / 0.9499 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007385/0.4218, allocations: 3.494 MB / 0.9533 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.423, allocations: 1.395 MB / 0.9547 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001267/0.4243, allocations: 379.8 kB / 0.9551 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.4246, allocations: 107.4 kB / 0.9552 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of SimCode: time 7.21e-07/0.4246, allocations: 0 / 0.9552 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of Templates: time 0.05267/0.4773, allocations: 31.49 MB / 0.9859 GB, free: 7.883 MB / 0.7325 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.836037025786936] Failed to read output from testmodel.py, exit status != 0: 0.4854304511100054 0.49991997899999996 0.28497204099999995 Calling exit ...