Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.002019/0.002019, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002391/0.002391, allocations: 165.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.476/1.476, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.002497/0.002497, allocations: 237.1 kB / 259.4 MB, free: 468 kB / 238.1 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.068/1.068, allocations: 138.4 MB / 454.3 MB, free: 2.012 MB / 366.1 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.6468 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.275e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.2577/0.2578, allocations: 5.824 MB / 0.6525 GB, free: 53.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004088/0.2619, allocations: 3.089 MB / 0.6555 GB, free: 53.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.2621, allocations: 40.28 kB / 0.6555 GB, free: 53.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.2642, allocations: 0.928 MB / 0.6564 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00082/0.265, allocations: 0.4953 MB / 0.6569 GB, free: 52.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008664/0.2658, allocations: 496.2 kB / 0.6574 GB, free: 52.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007484/0.2666, allocations: 1.129 MB / 0.6585 GB, free: 51.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005543/0.2671, allocations: 0.5062 MB / 0.659 GB, free: 51.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005631/0.2677, allocations: 0.6119 MB / 0.6596 GB, free: 51.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004633/0.2682, allocations: 422.6 kB / 0.66 GB, free: 51.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.871e-05/0.2683, allocations: 58.19 kB / 0.66 GB, free: 51.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.2688, allocations: 454.9 kB / 0.6605 GB, free: 51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.269, allocations: 306.1 kB / 0.6608 GB, free: 50.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.2693, allocations: 269.3 kB / 0.661 GB, free: 50.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009182/0.2702, allocations: 1.209 MB / 0.6622 GB, free: 50.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2702, allocations: 0 / 0.6622 GB, free: 50.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2702, allocations: 0.7812 kB / 0.6622 GB, free: 50.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.2702, allocations: 0 / 0.6622 GB, free: 50.36 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001241/0.2715, allocations: 0.9911 MB / 0.6632 GB, free: 49.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2715, allocations: 10.94 kB / 0.6632 GB, free: 49.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.273, allocations: 226.5 kB / 0.6634 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007124/0.2737, allocations: 0.5139 MB / 0.6639 GB, free: 49.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.2737, allocations: 45.69 kB / 0.6639 GB, free: 49.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.015e-05/0.2738, allocations: 68.31 kB / 0.664 GB, free: 49.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.2749, allocations: 1.13 MB / 0.6651 GB, free: 48.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.2749, allocations: 11.05 kB / 0.6651 GB, free: 48.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.275, allocations: 25.81 kB / 0.6652 GB, free: 48.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-05/0.275, allocations: 75.39 kB / 0.6652 GB, free: 48.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008648/0.2759, allocations: 0.6899 MB / 0.6659 GB, free: 48.26 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003089/0.279, allocations: 4.39 MB / 0.6702 GB, free: 44.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/0.2796, allocations: 408.8 kB / 0.6706 GB, free: 44.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007567/0.2804, allocations: 387.7 kB / 0.6709 GB, free: 44.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.2804, allocations: 9.969 kB / 0.671 GB, free: 44.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.2804, allocations: 41.7 kB / 0.671 GB, free: 44.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 1.933e-06/0.2805, allocations: 0 / 0.671 GB, free: 44.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.003963/0.2844, allocations: 1.731 MB / 0.6727 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.2844, allocations: 54.16 kB / 0.6727 GB, free: 43.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.2848, allocations: 438.2 kB / 0.6732 GB, free: 43.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.2848, allocations: 36.52 kB / 0.6732 GB, free: 43.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.285, allocations: 389.7 kB / 0.6736 GB, free: 43.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.2851, allocations: 159.1 kB / 0.6737 GB, free: 42.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.2852, allocations: 115.5 kB / 0.6738 GB, free: 42.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.2853, allocations: 363 kB / 0.6742 GB, free: 42.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.2856, allocations: 243.6 kB / 0.6744 GB, free: 42.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.286, allocations: 462 kB / 0.6748 GB, free: 42.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007117/0.2867, allocations: 0.7498 MB / 0.6756 GB, free: 41.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2867, allocations: 3.031 kB / 0.6756 GB, free: 41.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001637/0.2883, allocations: 1.039 MB / 0.6766 GB, free: 41.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2883, allocations: 5.969 kB / 0.6766 GB, free: 41.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2883, allocations: 12.81 kB / 0.6766 GB, free: 41.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009752/0.2893, allocations: 327.1 kB / 0.6769 GB, free: 41.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.2896, allocations: 102.8 kB / 0.677 GB, free: 41.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005602/0.2952, allocations: 6.971 MB / 0.6838 GB, free: 35.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.2956, allocations: 33.98 kB / 0.6839 GB, free: 35.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.2957, allocations: 27.38 kB / 0.6839 GB, free: 35.36 MB / 0.5606 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000299/0.296, allocations: 244.8 kB / 0.6841 GB, free: 35.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.334e-05/0.2961, allocations: 59.84 kB / 0.6842 GB, free: 35.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.2977, allocations: 0.8945 MB / 0.685 GB, free: 34.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2977, allocations: 5.234 kB / 0.6851 GB, free: 34.76 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2977, allocations: 3.344 kB / 0.6851 GB, free: 34.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.2977, allocations: 7.562 kB / 0.6851 GB, free: 34.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.3001, allocations: 1.504 MB / 0.6865 GB, free: 34.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3001, allocations: 6.688 kB / 0.6865 GB, free: 34.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.3002, allocations: 41.11 kB / 0.6866 GB, free: 34.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009358/0.3012, allocations: 312 kB / 0.6869 GB, free: 33.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.3012, allocations: 10.59 kB / 0.6869 GB, free: 33.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005595/0.3068, allocations: 6.963 MB / 0.6937 GB, free: 28.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3068, allocations: 5.562 kB / 0.6937 GB, free: 28.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.3084, allocations: 0.9923 MB / 0.6947 GB, free: 27.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.3086, allocations: 95.41 kB / 0.6948 GB, free: 27.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/0.3087, allocations: 12.59 kB / 0.6948 GB, free: 27.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.309, allocations: 19.52 kB / 0.6948 GB, free: 27.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3091, allocations: 47.61 kB / 0.6948 GB, free: 27.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.3091, allocations: 9.094 kB / 0.6948 GB, free: 27.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002916/0.3094, allocations: 281.7 kB / 0.6951 GB, free: 27.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3094, allocations: 0 / 0.6951 GB, free: 27.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007928/0.3102, allocations: 193.1 kB / 0.6953 GB, free: 27.46 MB / 0.5606 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001188/0.3103, allocations: 114.5 kB / 0.6954 GB, free: 27.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.3121, allocations: 1.161 MB / 0.6965 GB, free: 26.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3121, allocations: 1.281 kB / 0.6965 GB, free: 26.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.3131, allocations: 0.8309 MB / 0.6973 GB, free: 26.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/0.3141, allocations: 206.8 kB / 0.6975 GB, free: 26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.3158, allocations: 1.233 MB / 0.6987 GB, free: 25.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.3163, allocations: 395.6 kB / 0.6991 GB, free: 25.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002654/0.3165, allocations: 100.8 kB / 0.6992 GB, free: 25.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.3166, allocations: 39.52 kB / 0.6993 GB, free: 25.17 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.3166, allocations: 0 / 0.6993 GB, free: 25.17 MB / 0.5606 GB Notification: Performance of Templates: time 0.01769/0.3343, allocations: 10.36 MB / 0.7094 GB, free: 22.64 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.144482776522636] Failed to read output from testmodel.py, exit status != 0: 0.34221363067626953 0.357183699 0.08332573900000001 Calling exit ...