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.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.0007721/0.0007721, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007696/0.0007696, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8531/0.8531, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.001397/0.001397, allocations: 237.1 kB / 260.2 MB, free: 13.04 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.6654/0.6654, allocations: 138.4 MB / 455.1 MB, free: 1.629 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,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 1.032e-06/1.032e-06, allocations: 0 / 0.6475 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.867e-05, allocations: 2.281 kB / 0.6475 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.00686/0.006879, allocations: 10.18 MB / 0.6575 GB, free: 21.26 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007383/0.01426, allocations: 8.382 MB / 0.6657 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006409/0.0149, allocations: 79.31 kB / 0.6657 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.01656, allocations: 1.674 MB / 0.6674 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.01873, allocations: 1.621 MB / 0.6689 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008373/0.01957, allocations: 0.6763 MB / 0.6696 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0009665/0.02054, allocations: 2.36 MB / 0.6719 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007661/0.0213, allocations: 1.152 MB / 0.673 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008198/0.02212, allocations: 1.379 MB / 0.6744 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006176/0.02274, allocations: 0.9076 MB / 0.6753 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.02284, allocations: 140 kB / 0.6754 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006679/0.02351, allocations: 0.7482 MB / 0.6761 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.02374, allocations: 0.6035 MB / 0.6767 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.02405, allocations: 0.5961 MB / 0.6773 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.02535, allocations: 2.613 MB / 0.6799 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.02535, allocations: 3.938 kB / 0.6799 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/0.02535, allocations: 4 kB / 0.6799 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.02537, allocations: 4 kB / 0.6799 GB, free: 15.93 MB / 0.5261 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.002081/0.02745, allocations: 1.979 MB / 0.6818 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.02748, allocations: 12.75 kB / 0.6818 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005297/0.03278, allocations: 2.051 MB / 0.6838 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.03412, allocations: 1.144 MB / 0.6849 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.03417, allocations: 86.69 kB / 0.685 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.03432, allocations: 116.3 kB / 0.6851 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/0.03747, allocations: 2.887 MB / 0.6879 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.0375, allocations: 11.88 kB / 0.688 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.03761, allocations: 59.97 kB / 0.688 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001741/0.03778, allocations: 126.1 kB / 0.6881 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003671/0.04145, allocations: 2.537 MB / 0.6906 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006924/0.04838, allocations: 7.415 MB / 0.6979 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003199/0.05157, allocations: 1.854 MB / 0.6997 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.053, allocations: 0.9466 MB / 0.7006 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.05303, allocations: 12.48 kB / 0.7006 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.05307, allocations: 43.06 kB / 0.7006 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=53): time 2.595e-06/0.05307, allocations: 0 / 0.7006 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=81): time 0.01595/0.06902, allocations: 8.625 MB / 0.7091 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.06906, allocations: 60.06 kB / 0.7091 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007919/0.06985, allocations: 0.9632 MB / 0.7101 GB, free: 416 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.109e-05/0.06992, allocations: 41.7 kB / 0.7101 GB, free: 368 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.07026, allocations: 0.7542 MB / 0.7108 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.07043, allocations: 297.4 kB / 0.7111 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.07067, allocations: 202.5 kB / 0.7113 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.07076, allocations: 349.9 kB / 0.7117 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.0723, allocations: 1.071 MB / 0.7127 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.07393, allocations: 1.305 MB / 0.714 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/0.07726, allocations: 2.374 MB / 0.7163 GB, free: 9.816 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.07726, allocations: 8 kB / 0.7163 GB, free: 9.809 MB / 0.5573 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004542/0.0818, allocations: 3.234 MB / 0.7195 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.08182, allocations: 11.98 kB / 0.7195 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.08183, allocations: 4 kB / 0.7195 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/0.08329, allocations: 0.7916 MB / 0.7202 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009213/0.08421, allocations: 419.2 kB / 0.7206 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009423/0.09363, allocations: 14.8 MB / 0.7351 GB, free: 5.672 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.09467, allocations: 291.5 kB / 0.7354 GB, free: 5.387 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/0.09475, allocations: 51.97 kB / 0.7354 GB, free: 5.336 MB / 0.573 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.0005453/0.09529, allocations: 397.5 kB / 0.7358 GB, free: 4.938 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.09543, allocations: 139.1 kB / 0.7359 GB, free: 4.801 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/0.1001, allocations: 3.173 MB / 0.739 GB, free: 1.59 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1001, allocations: 8 kB / 0.739 GB, free: 1.582 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.1001, allocations: 15.92 kB / 0.7391 GB, free: 1.566 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1001, allocations: 3.984 kB / 0.7391 GB, free: 1.562 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005807/0.1059, allocations: 4.457 MB / 0.7434 GB, free: 13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1059, allocations: 4 kB / 0.7434 GB, free: 13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/0.1068, allocations: 355.7 kB / 0.7438 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/0.108, allocations: 0.6896 MB / 0.7444 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.108, allocations: 31.91 kB / 0.7445 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008588/0.1166, allocations: 14.42 MB / 0.7585 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1166, allocations: 8.062 kB / 0.7586 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004156/0.1208, allocations: 2.996 MB / 0.7615 GB, free: 9.586 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004039/0.1212, allocations: 295 kB / 0.7618 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.201e-05/0.1213, allocations: 16 kB / 0.7618 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008555/0.1221, allocations: 299.4 kB / 0.7621 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.1223, allocations: 84.44 kB / 0.7621 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/0.1224, allocations: 39.97 kB / 0.7622 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005488/0.1229, allocations: 0.6346 MB / 0.7628 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.1229, allocations: 0 / 0.7628 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009786/0.1239, allocations: 428 kB / 0.7632 GB, free: 7.809 MB / 0.6042 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.000203/0.1241, allocations: 135.1 kB / 0.7633 GB, free: 7.664 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004421/0.1285, allocations: 3.515 MB / 0.7668 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1285, allocations: 0 / 0.7668 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.1309, allocations: 2.309 MB / 0.769 GB, free: 1.633 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.132, allocations: 0.4935 MB / 0.7695 GB, free: 1.168 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.1364, allocations: 3.564 MB / 0.773 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.137, allocations: 0.8015 MB / 0.7738 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.1373, allocations: 124.3 kB / 0.7739 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of SimCode: time 9.52e-07/0.1373, allocations: 0 / 0.7739 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.04817/0.1855, allocations: 74.91 MB / 0.847 GB, free: 1.715 MB / 0.6823 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.742745978757739] Failed to read output from testmodel.py, exit status != 0: 0.19100357871502638 0.19966075700000002 0.17266874200000001 Calling exit ...